-
Notifications
You must be signed in to change notification settings - Fork 1
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
155 edit event modal + button #159
Conversation
// setEventEndTime(endTime); | ||
setEventData(event); | ||
manipulateDate(); | ||
}, [isOpen]); |
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.
React Hook useEffect has missing dependencies: 'event' and 'manipulateDate'. Either include them or remove the dependency array. If 'setEventData' needs the current value of 'event', you can also switch to useReducer instead of useState and read 'event' in the reducer.
manipulateStartTime(); | ||
manipulateEndTime(); | ||
} | ||
}, [eventData]); |
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.
React Hook useEffect has missing dependencies: 'manipulateEndTime' and 'manipulateStartTime'. Either include them or remove the dependency array.
…le input page to match design
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.
LGTM
Authors:
brelieu05, jessieh9
What does this PR contain?
Matched Hi-Fi Design and Implemented Edit Event Modal + Button
How did you test these changes?
Compared with Figma to see if implemented code closely matches the design (Button, Modal, etc.).
Closes #155