admin page
This commit is contained in:
@@ -19,6 +19,7 @@ import { SoglasiePage } from '@pages/soglasie-personalnyh-dannyh'
|
||||
import { ReestryPage } from '@pages/reestr-pd-rkn'
|
||||
import { TransactionsPage } from '@pages/transactions'
|
||||
import { AdminPage } from '@pages/admin'
|
||||
import { AdminOrganizationPage } from '@pages/admin-organization'
|
||||
import { WalletLayout } from '@widgets/wallet-layout'
|
||||
import { ROUTES } from '@shared/config/routes'
|
||||
import { ScrollToTop } from './ScrollToTop'
|
||||
@@ -41,6 +42,7 @@ export function RouterProvider() {
|
||||
|
||||
{/* Admin panel — own auth gate, independent of the user auth system */}
|
||||
<Route path={ROUTES.ADMIN} element={<AdminPage />} />
|
||||
<Route path={ROUTES.ADMIN_ORGANIZATION} element={<AdminOrganizationPage />} />
|
||||
|
||||
<Route element={<GuestRoute />}>
|
||||
<Route path={ROUTES.LOGIN} element={<LoginPage />} />
|
||||
|
||||
Reference in New Issue
Block a user