Skip to content

Commit

Permalink
chore: Update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
v0l committed Jun 3, 2024
1 parent 5eb5255 commit de1504b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
11 changes: 10 additions & 1 deletion packages/app/src/Components/Embed/TidalEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<>
Expand Down
7 changes: 3 additions & 4 deletions packages/system/src/nostr-link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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 {
Expand Down

0 comments on commit de1504b

Please sign in to comment.