chore: review comments

This commit is contained in:
Christy Jacob
2023-08-08 14:40:28 +04:00
parent f69a264ab7
commit 632934d57d
2 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
VITE_APPWRITE_ENDPOINT=http://localhost/v1
VITE_APPWRITE_GROWTH_ENDPOINT=
VITE_GA_PROJECT=
VITE_CONSOLE_MODE=cloud
VITE_CONSOLE_MODE=self-hosted
-4
View File
@@ -13,10 +13,6 @@ export const app = writable<AppStore>({
themeInUse: 'light'
});
//TODO: remove cloud always set to true
export const isCloud =
(import.meta.env.VITE_CONSOLE_MODE?.toString() ?? 'cloud') === 'cloud' ? true : false;
function createFeedbackStore() {
const { subscribe, update } = writable<Feedback>({
elapsed: browser ? parseInt(localStorage.getItem('feedbackElapsed')) : 0,