File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,20 @@ import UsersManagementPage from "./pages/UsersManagement/UsersManagementPage.jsx
77export default function App ( ) {
88 const MainPage = lazy ( ( ) => import ( "./pages/main/MainPage.jsx" ) ) ;
99 const ProfilePage = lazy ( ( ) => import ( "./pages/profile/ProfilePage.jsx" ) ) ;
10+ const SignUpPage = lazy ( ( ) => import ( "./pages/auth/SignUpPage.jsx" ) ) ;
11+
1012 return (
1113 < Layout >
1214 < Routes >
1315 < Route path = "/" element = { < Navigate to = "/posts" replace /> } />
1416 < Route path = "/posts" element = { < MainPage /> } />
1517 < Route path = "/my-profile" element = { < ProfilePage /> } />
18+ < Route
19+ path = "/register"
20+ element = {
21+ < SignUpPage />
22+ }
23+ />
1624 < Route path = "/admin/users" element = { < UsersManagementPage /> } />
1725 </ Routes >
1826 </ Layout >
You can’t perform that action at this time.
0 commit comments