Correctly update extensions language selection
Was only updated after clicking "OK" once. This was caused due only updating the language selection once the app language was changed or in case the selected languages (after clicking "OK") changed
This commit is contained in:
@@ -165,7 +165,7 @@ export default function MangaExtensions() {
|
||||
<LangSelect shownLangs={shownLangs} setShownLangs={setShownLangs} allLangs={allLangs} />
|
||||
</>,
|
||||
);
|
||||
}, [t, shownLangs]);
|
||||
}, [t, shownLangs, allLangs]);
|
||||
|
||||
useEffect(() => {
|
||||
const dropHandler = async (e: Event) => {
|
||||
|
||||
Reference in New Issue
Block a user