Update browser and nav bar title on language change (#275)
This commit is contained in:
@@ -62,7 +62,7 @@ const Manga: React.FC = () => {
|
||||
|
||||
useEffect(() => {
|
||||
setTitle(manga?.title ?? t('manga.title'));
|
||||
}, [manga?.title]);
|
||||
}, [t, manga?.title]);
|
||||
|
||||
if (error && !manga) {
|
||||
return <EmptyView message={t('manga.error.label.request_failure')} messageExtra={error.message ?? error} />;
|
||||
|
||||
Reference in New Issue
Block a user