Skip to content

Commit

Permalink
#61 Add route to about page
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraBergstrom committed Jul 6, 2023
1 parent 1c05a9e commit c994127
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import UsernameForm from "./pages/travelers/UsernameForm";
import UserPasswordForm from "./pages/travelers/UserPasswordForm";
import TravelerEditForm from "./pages/travelers/TravelerEditForm";
import NotFound from "./components/NotFound";
import AboutPage from "./pages/AboutPage";

function App() {
const currentUser = useCurrentUser();
Expand Down Expand Up @@ -54,6 +55,7 @@ function App() {
/>
<Route exact path="/login" render={() => <LoginForm />} />
<Route exact path="/signup" render={() => <SignUpForm />} />
<Route exact path="/about" render={() => <AboutPage />} />
<Route
exact
path="/posts/create"
Expand Down

0 comments on commit c994127

Please sign in to comment.