Skip to content

Commit

Permalink
Developed UI components and forms in the frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel81 committed Mar 17, 2024
1 parent 19b7e17 commit 70c20e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/frontend/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
// import { QueryClient, QueryClientProvider } from 'react-query';
import { HashRouter as Router, Route, Routes } from 'react-router-dom';

import HomePage from './pages/HomePage';
Expand All @@ -7,6 +8,7 @@ import CreateSubrabbitPage from './pages/CreateSubrabbitPage';
import SubrabbitDetailPage from './pages/SubrabbitDetailPage';
import CreatePostPage from './pages/CreatePostPage';
import PostDetailPage from './pages/PostDetailPage';
import SettingsPage from './pages/SettingsPage';

import AuthenticationModal from './components/AuthenticationModal';
import Navbar from './components/Navbar';
Expand All @@ -26,6 +28,7 @@ function App() {
<Route path="/r/:slug" element={<SubrabbitDetailPage />} />
<Route path="/r/:slug/submit" element={<CreatePostPage />} />
<Route path="/r/:slug/post/:id" element={<PostDetailPage />} />
<Route path="/settings" element={<SettingsPage />} />
</Routes>
</Router>
<AuthenticationModal />
Expand Down

0 comments on commit 70c20e7

Please sign in to comment.