-
Notifications
You must be signed in to change notification settings - Fork 0
feat: A6 implement #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the failures. You can check them locally by running pnpm lint
just remove the unused imports and useState is enough.
src/components/Footer/index.tsx
Outdated
|
||
<div className='text-center'> | ||
<Link to="/selectMovie" className='btn btn-primary my-2'> | ||
Go to Select Movies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can just add this link to header
src/routes.tsx
Outdated
@@ -6,6 +6,9 @@ import MovieCreate from 'pages/MovieCreate' | |||
import NotFound from 'pages/NotFound' | |||
import Register from 'pages/Register' | |||
import RegisterConfirm from 'pages/RegisterConfirm' | |||
import SelectMovie from 'pages/SelectMovie' | |||
import SelectSeat from 'pages/SelectSeat' | |||
import SelectTime from 'pages/SelectTime' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is this page?
src/routes.tsx
Outdated
@@ -38,6 +41,18 @@ const children: RouteObject[] = [ | |||
} | |||
] | |||
}, | |||
{ | |||
path: '/SelectMovie', | |||
element: <SelectMovie /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better rename these pages to keep consistency. Like MovieCreate
. Start with a noun to make it ordered together in the editor. MovieSelect
, MovieTimeSelect
, MovieSeatSelect
.
Implementation of A6