chore: Update translations

This commit is contained in:
2024-04-22 20:17:01 +00:00
parent ee9f941b11
commit ea54ee2b00
3 changed files with 9 additions and 12 deletions

View File

@ -48,7 +48,8 @@ export default function ModerationSettingsPage() {
value={muteWord}
onChange={e => setMuteWord(e.target.value.toLowerCase())}
/>
<AsyncButton onClick={async () => {
<AsyncButton
onClick={async () => {
await addMutedWord(muteWord);
setMuteWord("");
}}>

View File

@ -194,11 +194,7 @@ export class NostrLink implements ToNostrEventTag {
}
}
static fromTag(
tag: Array<string>,
author?: string,
kind?: number,
) {
static fromTag(tag: Array<string>, author?: string, kind?: number) {
const relays = tag.length > 2 ? [tag[2]] : undefined;
switch (tag[0]) {
case "e": {