chore: Update translations

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

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 {