feat: added email verification check

This commit is contained in:
Kyle Gill
2019-06-05 16:07:40 -06:00
parent 667cbeb5f7
commit ae993e28d0
5 changed files with 81 additions and 6 deletions

View File

@@ -69,30 +69,37 @@ class App extends Component {
<Router style={{ height: "100%" }}>
<PrivateRoute
authed={authed}
authUser={propAuthUser}
path="/app/:year"
component={Year}
exact
/>
<PrivateRoute
authed={authed}
authUser={propAuthUser}
path="/app/:year/:month"
component={Month}
exact
/>
<PrivateRoute
authed={authed}
authUser={propAuthUser}
emailVerificationUnnecessary={false}
path="/app/:year/:month/:day"
component={Day}
exact
/>
<PrivateRoute
authed={authed}
authUser={propAuthUser}
emailVerificationUnnecessary={false}
path="/app/search"
component={Search}
exact
/>
<PrivateRoute
authed={authed}
authUser={propAuthUser}
path="/app/user"
component={User}
exact