-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/issue 170 - Add option to pick dates #175
Conversation
@@ -58,6 +61,8 @@ export default function BookRoomView({ onRoomBooked }: BookRoomViewProps) { | |||
seats: preferences.seats, | |||
}); | |||
|
|||
const [date, setDate] = useState(dayjs()); |
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.
use the existing hook formData
with a new field added there "date"
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.
also, try replacing dayjs with existing method
convertToRFC3339()`
color: theme.palette.grey[50], | ||
}), | ||
]} | ||
<Box sx={{ width: '50%' }}> |
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.
the same needs to be done in EditEventsView
6e8738a
to
0887476
Compare
* Add: Multiple pasting feature added. * Removed redundant methods and resolved email check issues. * Added datepicker to pick dates
* Add: Multiple pasting feature added. * Removed redundant methods and resolved email check issues. * Added datepicker to pick dates
* Add: Multiple pasting feature added. * Removed redundant methods and resolved email check issues. * Added datepicker to pick dates
Resolves #170
Changes
Testing