Better listening for path changes

This commit is contained in:
Gregory Schier
2023-10-28 23:41:24 -07:00
parent c2c3a28aab
commit 899092b4d2
5 changed files with 37 additions and 28 deletions

View File

@@ -4,9 +4,9 @@ import { App } from './components/App';
import { getKeyValue } from './lib/keyValueStore';
import { getPreferredAppearance, setAppearance } from './lib/theme/window';
import './main.css';
import { initPathnamePersistance } from './lib/initPathnamePersistance';
import { maybeRestorePathname } from './lib/persistPathname';
await initPathnamePersistance();
await maybeRestorePathname();
setAppearance(
await getKeyValue({