mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix: wrong document titles
This commit is contained in:
@@ -156,7 +156,9 @@ const Catalog = () => {
|
||||
|
||||
useEffect(() => {
|
||||
let documentTitle = title ? title : shortAddress;
|
||||
document.title = documentTitle + ' - Catalog';
|
||||
if (isInAllView) documentTitle = t('all');
|
||||
else if (isInSubscriptionsView) documentTitle = t('subscriptions');
|
||||
document.title = documentTitle + ` - ${t('catalog')}`;
|
||||
}, [title, shortAddress]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user