This is why you should close tabs and not let them pile up in the tab bar

This commit is contained in:
Lim Chee Aun 2022-12-10 21:02:03 +08:00
parent b06fc385ad
commit 7e312a38ff

View file

@ -245,7 +245,7 @@ export function App() {
setCurrentDeck('notifications'); setCurrentDeck('notifications');
} else if (url === '/') { } else if (url === '/') {
setCurrentDeck('home'); setCurrentDeck('home');
document.title = `Home / ${CLIENT_NAME}}`; document.title = `Home / ${CLIENT_NAME}`;
} else if (url === '/login' || url === '/welcome') { } else if (url === '/login' || url === '/welcome') {
setCurrentDeck(null); setCurrentDeck(null);
} }