https://github.com/developer3027/nutrasite
https://github.com/developer3027/nutrasite
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/developer3027/nutrasite
- Owner: Developer3027
- License: mit
- Created: 2021-07-07T20:11:20.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-17T16:19:01.000Z (over 4 years ago)
- Last Synced: 2024-12-29T03:43:15.773Z (over 1 year ago)
- Language: JavaScript
- Size: 3.07 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Notes
#### Google is just spinning, blank popup
After switching from class to functional components, found the google log in would not work. Clicking the button would open the pop up but would not go anywhere. I found that in the form tag, I did the typical onSubmit={} and passed handleSubmit. However I placed it in a function like in the example;
``` handleSubmit}>```
Once I removed the function and just set the handleSubmit, It worked just fine. Like this example.
``````