-
-
Notifications
You must be signed in to change notification settings - Fork 442
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 signin & signup #9
base: master
Are you sure you want to change the base?
Conversation
👷 Deploy request for arcinvoice pending review. 🔨 Explore the source changes: 4457249 |
@tobyleye sounds great! |
|
||
const googleError = (error) => { | ||
console.log(error); | ||
console.log("Google Sign In was unseccassful. Try again later"); |
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.
console.log("Google Sign In was unseccassful. Try again later"); | |
console.log("Google Sign In was unsuccessful. Try again later."); |
const [isLoading, setIsLoading] = useState(false); | ||
|
||
const googleSuccess = async (res) => { | ||
console.log(res); |
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.
It is best if we dont leave console.logs in our code.
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 briefly looked through it and commented on the things that I noticed.
My apologies for not giving context as to why this pr was raised.
The authentication pages i.e signup & login are not user friendly atm. The
Get Started
button on the header takes user to a /login route and renders a login form. I understand there's a logic that conditionally renders the login/signup form based on a local boolean state but it isn't tied to theGet Started
button.So this pr was raised in order to separate these two pages and properly link them
I look forward to your review & feedback. Thank you.
@panshak