From b459774fd26adc669e6d9a8a006183c75d990bbc Mon Sep 17 00:00:00 2001 From: aelassas Date: Sat, 16 Nov 2024 11:34:56 +0100 Subject: [PATCH] Fix App.tsx --- frontend/src/App.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 78b7bf252..26aab90f1 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1,8 +1,9 @@ import React, { lazy, Suspense } from 'react' -import { BrowserRouter as Router, Route, Routes } from 'react-router-dom' +import { Route, Routes } from 'react-router-dom' import env from '@/config/env.config' import { GlobalProvider } from '@/context/GlobalContext' import { init as initGA } from '@/common/ga4' +import SuspenseRouter from './components/SuspenseRouter' if (env.GOOGLE_ANALYTICS_ENABLED) { initGA() @@ -31,7 +32,7 @@ const Suppliers = lazy(() => import('@/pages/Suppliers')) const App = () => ( - +
}> @@ -59,7 +60,7 @@ const App = () => (
-
+
)