From d912bb082e2b4f28c1d22e0e810ff766ffe7dc00 Mon Sep 17 00:00:00 2001 From: Fatemeh sh Date: Mon, 22 Jul 2024 16:49:24 +0330 Subject: [PATCH] `global.d.ts` file updated --- src/App/App.tsx | 9 --------- src/global.d.ts | 2 -- 2 files changed, 11 deletions(-) diff --git a/src/App/App.tsx b/src/App/App.tsx index 11e60a2..6273260 100644 --- a/src/App/App.tsx +++ b/src/App/App.tsx @@ -4,17 +4,8 @@ import '@assets/scss/base/RSuite.scss'; import '@assets/scss/App.scss'; import '@assets/scss/base/tailwind.scss'; import RoutesRenderer from './Routes/RouteRenderer'; -import { useEffect } from 'react'; -import { isDev } from '../Tools/Utils/React'; const App = () => { - //? ------------------------------ useEffects ------------------------------------------------------ - - useEffect(() => { - isDev && (window.logs = true); - }, []); - - // ------------------------------------------------------------------------------------------------- return ; }; diff --git a/src/global.d.ts b/src/global.d.ts index eca372c..003f065 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -1,6 +1,4 @@ interface Window { - logs?: boolean; - user_token?: string; CONFIG?: OBJECT; MODE?: 'PRODUCTION' | 'DEVELOPMENT' | 'LOCAL'; }