mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-25 01:13:39 +10:00
chore(process manager): refactor for generic way to implement cross
platform launchers
This commit is contained in:
+2
-2
@@ -20,10 +20,10 @@ import {
|
||||
const router = useRouter();
|
||||
|
||||
const state = useAppState();
|
||||
state.value = await invoke("fetch_state");
|
||||
state.value = JSON.parse(await invoke("fetch_state"));
|
||||
|
||||
router.beforeEach(async () => {
|
||||
state.value = await invoke("fetch_state");
|
||||
state.value = JSON.parse(await invoke("fetch_state"));
|
||||
});
|
||||
|
||||
setupHooks();
|
||||
|
||||
Reference in New Issue
Block a user