For my open source release, I selected working on the same project that is Teacher Fund.
In the release 0.3 , I am adding a table on it.
For this release, i will add post-login and post-registration pages in the website
This is my pull request :
https://github.com/teacherfund/TeacherFund_next/pull/73
Below is my method for this issue:
how do i sync my repo with original one
https://github.com/teacherfund/TeacherFund_next/issues/71
click “login”:
http://localhost:3001/signinregister?type=donor
some bugs:
1”sign in” should be “sign up” now.
2right now. it just show “an error occurred”
I am going to create a new component
signIn signup form
|–loginForm
props:
- type
Understand on Signup() function, interesting
The function takes an object{email, first name, last name, role} and handle errors
But how to find out the function implementation?
The function is passed from the signinregister.js component
all props are added with helpers!
The function definition is under container/withContext.js
Add post-registration page: