diff --git a/src/App.js b/src/App.js index 6a47e09..cd6cb6a 100644 --- a/src/App.js +++ b/src/App.js @@ -7,14 +7,48 @@ import SignUpForm from "./pages/auth/SignUpForm"; import LoginForm from "./pages/auth/LoginForm"; import PostCreateForm from "./pages/posts/PostCreateForm"; import PostPage from "./pages/posts/PostPage"; +import PostsPage from "./pages/posts/PostsPage"; +import { useCurrentUser } from "./contexts/CurrentUserContext"; function App() { + const currentUser = useCurrentUser(); + const profile_id = currentUser?.profile_id || ""; + return (
-

Home Page

} /> + ( + + )} + /> + ( + + )} + /> + ( + + )} + /> } /> } /> } />