chore: Update translations
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user