-
Notifications
You must be signed in to change notification settings - Fork 6
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
Create Event now works properly and as intended. #165
Conversation
…nto dev Fixed merge conflicts.
After creating an event, the browser redirects to the newly created event's EventDetails page. Note that fbURL and canvaURL both have to either be empty or filled out with a proper URL string, otherwise a status code 400 will be sent from the backend server.
Deploy preview for hknucsd-portal-dev ready! Built with commit d6d37f0 |
Okay well my git history is messed up... Guess I'll be fixing merge conflicts pretty soon |
src/pages/App/index.tsx
Outdated
@@ -158,4 +157,4 @@ function App(): JSX.Element { | |||
); | |||
} | |||
|
|||
export default config.nodeEnv === 'development' ? hot(App) : App; | |||
export default process.env.NODE_ENV === 'development' ? hot(App) : App; |
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.
why revert back
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 I messed up with merging or pulling somewhere along the line... I did not change it back myself :)))
* Tsconfig changes again : ( * Fixed merge issue * Create Event now works properly and as intended. After creating an event, the browser redirects to the newly created event's EventDetails page. Note that fbURL and canvaURL both have to either be empty or filled out with a proper URL string, otherwise a status code 400 will be sent from the backend server. * Added url validation to create event form's schema's fbURL + canvaURL. * Changed process.env in src/index.js to using config.
* Tsconfig changes again : ( * Fixed merge issue * Create Event now works properly and as intended. After creating an event, the browser redirects to the newly created event's EventDetails page. Note that fbURL and canvaURL both have to either be empty or filled out with a proper URL string, otherwise a status code 400 will be sent from the backend server. * Added url validation to create event form's schema's fbURL + canvaURL. * Changed process.env in src/index.js to using config.
After creating an event, the browser redirects to the newly created
event's EventDetails page