fix #71
Signup and login page are both rendered in LoginModal.js. The login state in LoginModal.js determined whether login or signup page was rendered. By default it was always login.
I took the login state and put it in AuthContext so that we can specify whether login or signup is the default view rendered when the login modal pops up
fix #71 Signup and login page are both rendered in
LoginModal.js
. Thelogin
state inLoginModal.js
determined whether login or signup page was rendered. By default it was always login. I took thelogin
state and put it inAuthContext
so that we can specify whether login or signup is the default view rendered when the login modal pops up