Skip to content

Commit

Permalink
#10 Add signup form to route
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraBergstrom committed Jun 20, 2023
1 parent 4f291a5 commit dffedc9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import NavBar from './components/NavBar';
import Container from 'react-bootstrap/Container';
import { Route, Switch } from 'react-router-dom';
import './api/axiosDefaults'
import SignUpForm from './pages/auth/SignUpForm';


function App() {
Expand All @@ -13,7 +14,7 @@ function App() {
<Switch>
<Route exact path="/" render={() => <h1>Home Page</h1>} />
<Route exact path="/login" render={() => <h1>Login!</h1>} />
<Route exact path="/signup" render={() => <h1>Sign up!</h1>} />
<Route exact path="/signup" render={() => <SignUpForm />} />
<Route render={() => <p>Page not found!</p>} />
</Switch>
</Container>
Expand Down

0 comments on commit dffedc9

Please sign in to comment.