remove admin
This commit is contained in:
@@ -18,8 +18,6 @@ import { PolitikaCookiePage } from '@pages/politika-cookie'
|
||||
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'
|
||||
@@ -40,10 +38,6 @@ export function RouterProvider() {
|
||||
<Route path={ROUTES.REGISTER_TEST} element={<RegisterTestPage />} />
|
||||
<Route path={ROUTES.CONVERTER_TEST} element={<ConverterTestPage />} />
|
||||
|
||||
{/* 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 />} />
|
||||
<Route path={ROUTES.REGISTER} element={<RegisterPage />} />
|
||||
|
||||
Reference in New Issue
Block a user