app user creation made
This commit is contained in:
parent
8f69af24ba
commit
8640629005
11
src/App.tsx
11
src/App.tsx
@ -2,16 +2,7 @@ import { BrowserRouter, Navigate, Route, Routes } from 'react-router-dom'
|
||||
import { AuthProvider } from './auth/AuthProvider'
|
||||
import { LoginPage } from './screens/LoginPage'
|
||||
import { ConsoleLayout } from './screens/ConsoleLayout'
|
||||
import { OrdersPage } from './screens/OrdersPage'
|
||||
import { MyOrdersPage } from './screens/MyOrdersPage'
|
||||
import { CallsPage } from './screens/CallsPage'
|
||||
import { MyCallsPage } from './screens/MyCallsPage'
|
||||
import { StoresPage } from './screens/StoresPage'
|
||||
import { DailyLogsPage } from './screens/DailyLogsPage'
|
||||
import { MyDailyLogsPage } from './screens/MyDailyLogsPage'
|
||||
import { DailySalesReportPage } from './screens/DailySalesReportPage'
|
||||
import { ReportPage } from './screens/ReportPage'
|
||||
import { DatasetsPage } from './screens/admin/DatasetsPage'
|
||||
|
||||
import { DatasetItemsPage } from './screens/admin/DatasetItemsPage'
|
||||
import { ProtectedRoute, getDefaultRoute } from './auth/ProtectedRoute'
|
||||
import { useAuth } from './auth/context'
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Navigate, useNavigate } from 'react-router-dom';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { ShieldAlert } from 'lucide-react';
|
||||
import { useAuth } from './context';
|
||||
import { Button } from '../components/buttons';
|
||||
|
||||
@ -6,7 +6,7 @@ import { useAuth } from '../auth/context';
|
||||
import { onAuthErrorAll, orderBookingClient } from '../api/clients';
|
||||
|
||||
|
||||
import { SCREENS } from './tabs';
|
||||
|
||||
import { REPORT_MAP } from './ReportPage';
|
||||
|
||||
import { routeConfig } from '../routesConfig';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user