Skip to content
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

Fix signup page crash #2754

Merged
merged 1 commit into from
Feb 1, 2022
Merged

Fix signup page crash #2754

merged 1 commit into from
Feb 1, 2022

Conversation

DukeManh
Copy link
Contributor

@DukeManh DukeManh commented Jan 27, 2022

This fixes the signup page crash due to useEffect infinite loop in 'SignUp.tsx'

Issue This PR Addresses

Type of Change

  • Bugfix: Change which fixes an issue
  • New Feature: Change which adds functionality
  • Documentation Update: Change which improves documentation
  • UI: Change which improves UI

Description

Checklist

  • Quality: This PR builds and passes our npm test and works locally
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Screenshots: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not (if applicable)
  • Documentation: This PR includes updated/added documentation to user exposed functionality or configuration variables are added/changed or an explanation of why it does not(if applicable)

@gitpod-io
Copy link

gitpod-io bot commented Jan 27, 2022

.gitpod.yml Outdated
@@ -9,11 +9,13 @@ tasks:
eval $(gp env -e API_URL=$(gp url 3000))
eval $(gp env -e WEB_URL=$(gp url 8000))
eval $(gp env -e API_HOST=$(gp url 8443))
eval $(gp env -e SSO_URL=$(gp url 8081))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this file should be changing as part of this PR, should it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to make the singup flow works for people who might review this PR using Gitpod.

humphd
humphd previously approved these changes Jan 27, 2022
.gitpod.yml Outdated
eval $(gp env -e SERVICES="status image auth search posts feed-discovery users redis elasticsearch login firebase")

sed -r \
-e "s@(.+=)http://localhost:8000(/[^ ]*)*@\1$WEB_URL\2@g" \
-e "s@(.+=)http://localhost:3000(/[^ ]*)*@\1$API_URL\2@g" \
-e "s@(.+=)http://localhost:8081(/[^ ]*)*@\1$SSO_URL\2@g" \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just surprised to see this change, since it is based on my other PR, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I just happened to have the same idea.

HyperTHD
HyperTHD previously approved these changes Jan 27, 2022
@humphd
Copy link
Contributor

humphd commented Jan 27, 2022

This needs a rebase and can go in after that merge conflict is fixed.

humphd
humphd previously approved these changes Jan 28, 2022
@aserputov aserputov self-requested a review January 31, 2022 20:54
@aserputov
Copy link
Contributor

@humphd can we merge this one ?

@humphd
Copy link
Contributor

humphd commented Feb 1, 2022

@aserputov go for it, click Rebase and merge. As long as it doesn't have merge conflicts, and isn't more than 1 commit, it's fine with 2 approvals.

@aserputov aserputov merged commit 1783101 into Seneca-CDOT:master Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants