Wire up file upload form

This commit is contained in:
jwu-fisker
2021-01-07 14:10:58 -08:00
parent 8fc6b3b6d8
commit 0ae42bf51d
7 changed files with 145 additions and 16 deletions

View File

@@ -21,7 +21,7 @@ const SiteRoutes = () => {
<Switch>
<AuthRoute path="/" exact render={() => <SignInForm />} type={TYPES.GUEST} token={token} />
<AuthRoute path="/signup" exact render={() => <SignUpForm />} type={TYPES.GUEST} token={token} />
<AuthRoute path="/home" render={() => <FileUploadForm />} type={TYPES.PROTECTED} token={token} />
<AuthRoute path="/home" render={() => <FileUploadForm />} type={TYPES.PUBLIC} token={token} />
</Switch>
</BrowserRouter>
</Suspense>