From 632934d57ddfae240f1ce0be7b292a333ebba396 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Tue, 8 Aug 2023 14:40:28 +0400 Subject: [PATCH] chore: review comments --- .env.example | 2 +- src/lib/stores/app.ts | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.env.example b/.env.example index 21a2963f2..e490a6ef4 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ VITE_APPWRITE_ENDPOINT=http://localhost/v1 VITE_APPWRITE_GROWTH_ENDPOINT= VITE_GA_PROJECT= -VITE_CONSOLE_MODE=cloud \ No newline at end of file +VITE_CONSOLE_MODE=self-hosted \ No newline at end of file diff --git a/src/lib/stores/app.ts b/src/lib/stores/app.ts index 5ee62377b..8fddadf2d 100644 --- a/src/lib/stores/app.ts +++ b/src/lib/stores/app.ts @@ -13,10 +13,6 @@ export const app = writable({ 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({ elapsed: browser ? parseInt(localStorage.getItem('feedbackElapsed')) : 0,