From 0a7613bb75ec1228659655d45cc3d654abac07c9 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Wed, 15 Feb 2023 12:32:35 +0800 Subject: [PATCH] Cleaned up routes layout in App.tsx --- src/App.tsx | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 3c7b0a7..1e70851 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -11,28 +11,22 @@ const router = createBrowserRouter([ { path: "/", element: ( - - - - - + + + ), errorElement: ( - - - - - + + + ), }, { path: "/Products", element: ( - - - - - + + + ), }, ]);