Add about page #52 and fix changeServer

This commit is contained in:
Prayag Prajapati committed 2023-11-21 22:33:02 +05:30
1 parent 16c6a26a2e
commit 1dddbca3b2
10 files changed
+178 -140

No files matched your search

+2 -1
View File
@@ -3,7 +3,7 @@
import { create } from "zustand";
import { getAllServer, getDefaultServer, getServer } from "../storage/servers";
import { getUser } from "../storage/user";
import { version } from "../../../package.json";
/**
* Central Store controls the base state required by the app
*/
@@ -17,6 +17,7 @@ export const useCentralStore = create(() => ({
userOnDisk: async () => getUser(),
/** This is the initial route that app goes to just after app startups */
initialRoute: null,
clientVersion: version,
}));
/**