Skip to content

Commit

Permalink
refactor: TripsPage path root로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysyheo committed Jul 26, 2023
1 parent 88349aa commit 6d177f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion frontend/src/constants/path.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export const PATH = {
ROOT: '/',
TRIPS: '/trips',
CREATE_TRIP: '/trip-new',
EDIT_TRIP: '/trip-edit/:tripId',
TRIP: '/trip',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/router/AppRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const router = createBrowserRouter([
errorElement: <NotFoundPage />,
children: [
{
path: PATH.TRIPS,
path: '',
element: (
<Suspense fallback={<TripsPageSkeleton />}>
<TripsPage />
Expand Down

0 comments on commit 6d177f9

Please sign in to comment.