Fix translation selector stuck on english

This commit is contained in:
hzrd149 2024-02-21 07:05:16 +00:00
parent 8879641511
commit 64c2bb3216
2 changed files with 6 additions and 1 deletions
.changeset
src/views/tools/transform-note/translation

@ -0,0 +1,5 @@
---
"nostrudel": patch
---
Fix translation selector stuck on english

@ -52,7 +52,7 @@ export function NoteTranslationsPage({ note }: { note: NostrEvent }) {
};
await publish("Request Translation", draft);
}, [publish, note, readRelays]);
}, [publish, note, readRelays, lang]);
const timeline = useTimelineLoader(
`${getEventUID(note)}-translations`,