force Local source at LangSelect

This commit is contained in:
Aria Moradi
2021-10-18 14:22:33 +03:30
parent 23c8e649a1
commit 35da3b76c8
2 changed files with 23 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ export default function MangaSources() {
});
}
});
}, [shownLangs]);
}, []);
useEffect(() => {
setTitle('Sources');
@@ -68,6 +68,7 @@ export default function MangaSources() {
shownLangs={shownLangs}
setShownLangs={setShownLangs}
allLangs={sourceToLangList(sources)}
forcedLangs={sourceForcedDefaultLangs()}
/>,
);
}, [shownLangs, sources]);