From 6d177f9b99c7ec82ef2e1f0ad89c84e69ff74bfa Mon Sep 17 00:00:00 2001 From: Ashley Heo Date: Wed, 26 Jul 2023 14:35:31 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20TripsPage=20path=20root=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/constants/path.ts | 1 - frontend/src/router/AppRouter.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/constants/path.ts b/frontend/src/constants/path.ts index 668a89c91..4d0479c7b 100644 --- a/frontend/src/constants/path.ts +++ b/frontend/src/constants/path.ts @@ -1,6 +1,5 @@ export const PATH = { ROOT: '/', - TRIPS: '/trips', CREATE_TRIP: '/trip-new', EDIT_TRIP: '/trip-edit/:tripId', TRIP: '/trip', diff --git a/frontend/src/router/AppRouter.tsx b/frontend/src/router/AppRouter.tsx index e2c88b9ef..8cf7de149 100644 --- a/frontend/src/router/AppRouter.tsx +++ b/frontend/src/router/AppRouter.tsx @@ -17,7 +17,7 @@ const router = createBrowserRouter([ errorElement: , children: [ { - path: PATH.TRIPS, + path: '', element: ( }>