chore: Update translations
This commit is contained in:
@ -4,7 +4,7 @@ import { EventKind, NostrEvent, NostrLink, TaggedNostrEvent, ToNostrEventTag, Un
|
||||
import useLogin from "@/Hooks/useLogin";
|
||||
|
||||
export class MutedWordTag implements ToNostrEventTag {
|
||||
constructor(readonly word: string) { }
|
||||
constructor(readonly word: string) {}
|
||||
|
||||
toEventTag(): string[] | undefined {
|
||||
return ["word", this.word.toLowerCase()];
|
||||
|
@ -48,10 +48,11 @@ export default function ModerationSettingsPage() {
|
||||
value={muteWord}
|
||||
onChange={e => setMuteWord(e.target.value.toLowerCase())}
|
||||
/>
|
||||
<AsyncButton onClick={async () => {
|
||||
await addMutedWord(muteWord);
|
||||
setMuteWord("");
|
||||
}}>
|
||||
<AsyncButton
|
||||
onClick={async () => {
|
||||
await addMutedWord(muteWord);
|
||||
setMuteWord("");
|
||||
}}>
|
||||
<FormattedMessage defaultMessage="Add" id="2/2yg+" />
|
||||
</AsyncButton>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user