This commit is contained in:
parent
5eb5255ed8
commit
de1504b4bf
@ -55,7 +55,16 @@ const TidalEmbed = ({ link }: { link: string }) => {
|
|||||||
}
|
}
|
||||||
const iframe = (
|
const iframe = (
|
||||||
// eslint-disable-next-line react/no-unknown-property
|
// eslint-disable-next-line react/no-unknown-property
|
||||||
<iframe src={source} style={extraStyles} width="100%" allow="encrypted-media *; clipboard-write *; clipboard-read *" sandbox="allow-scripts allow-popups allow-forms allow-same-origin" title="TIDAL Embed" frameBorder={0} credentialless="" />
|
<iframe
|
||||||
|
src={source}
|
||||||
|
style={extraStyles}
|
||||||
|
width="100%"
|
||||||
|
allow="encrypted-media *; clipboard-write *; clipboard-read *"
|
||||||
|
sandbox="allow-scripts allow-popups allow-forms allow-same-origin"
|
||||||
|
title="TIDAL Embed"
|
||||||
|
frameBorder={0}
|
||||||
|
credentialless=""
|
||||||
|
/>
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
@ -38,8 +38,7 @@ export class UnknownTag implements ToNostrEventTag {
|
|||||||
|
|
||||||
equals(other: ToNostrEventTag): boolean {
|
equals(other: ToNostrEventTag): boolean {
|
||||||
const otherTag = other.toEventTag();
|
const otherTag = other.toEventTag();
|
||||||
return otherTag?.at(0) === this.value.at(0) &&
|
return otherTag?.at(0) === this.value.at(0) && otherTag?.at(1) === this.value.at(1);
|
||||||
otherTag?.at(1) === this.value.at(1)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
toEventTag(): string[] | undefined {
|
toEventTag(): string[] | undefined {
|
||||||
|
Loading…
Reference in New Issue
Block a user