Update browser and nav bar title on language change (#275)

This commit is contained in:
schroda
2023-03-28 23:14:03 +02:00
committed by GitHub
parent 92506ccf78
commit b1dc13cd30
15 changed files with 16 additions and 16 deletions

View File

@@ -61,7 +61,7 @@ export default function SourceMangas({ popular }: { popular: boolean }) {
useEffect(() => {
setTitle(t('source.title')); // title is later set after a fetch but we set it here once
}, []);
}, [t]);
useEffect(() => {
client