build fix

This commit is contained in:
Martti Malmi 2023-04-26 21:18:29 +03:00
parent 1224127168
commit 411225b5c6
2 changed files with 3 additions and 2 deletions

View File

@ -125,12 +125,13 @@ const Session = {
if (window.location.pathname === '/') {
localState.get('lastOpenedFeed').once((lastOpenedFeed) => {
route('/' + (lastOpenedFeed || 'following'));
// dumb, but better than nothing
setTimeout(() => {
route('/' + (lastOpenedFeed || 'following'));
}, 100);
setTimeout(() => {
route('/' + (lastOpenedFeed || 'following'));
}, 1000);
}, 500);
});
}
setTimeout(() => {

View File

@ -4,7 +4,7 @@ import { PrimaryButton as Button } from '../components/buttons/Button';
import Session from '../nostr/Session';
import { translate as t } from '../translations/Translation';
export default function LogoutConfirmation() {
export default function LogoutConfirmation(_props) {
return (
<div class="main-view" id="logout-confirmation">
<div class="centered-container">