chore: Update translations
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kieran 2024-06-03 08:04:37 +00:00
parent 5eb5255ed8
commit de1504b4bf
2 changed files with 13 additions and 5 deletions

View File

@ -55,7 +55,16 @@ const TidalEmbed = ({ link }: { link: string }) => {
}
const iframe = (
// 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 (
<>

View File

@ -21,7 +21,7 @@ export interface ToNostrEventTag {
}
export class NostrHashtagLink implements ToNostrEventTag {
constructor(readonly tag: string) { }
constructor(readonly tag: string) {}
equals(other: ToNostrEventTag): boolean {
const otherTag = other.toEventTag();
@ -34,12 +34,11 @@ export class NostrHashtagLink implements ToNostrEventTag {
}
export class UnknownTag implements ToNostrEventTag {
constructor(readonly value: Array<string>) { }
constructor(readonly value: Array<string>) {}
equals(other: ToNostrEventTag): boolean {
const otherTag = other.toEventTag();
return otherTag?.at(0) === this.value.at(0) &&
otherTag?.at(1) === this.value.at(1)
return otherTag?.at(0) === this.value.at(0) && otherTag?.at(1) === this.value.at(1);
}
toEventTag(): string[] | undefined {