fix: register setup-account route and correctly name component
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m5s
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m5s
This commit is contained in:
2
App.tsx
2
App.tsx
@@ -10,6 +10,7 @@ import { Teams } from './pages/Teams';
|
||||
import { Login } from './pages/Login';
|
||||
import { ForgotPassword } from './pages/ForgotPassword';
|
||||
import { ResetPassword } from './pages/ResetPassword';
|
||||
import { SetupAccount } from './pages/SetupAccount';
|
||||
import { UserProfile } from './pages/UserProfile';
|
||||
import { getUserById, logout } from './services/dataService';
|
||||
import { User } from './types';
|
||||
@@ -71,6 +72,7 @@ const App: React.FC = () => {
|
||||
<Route path="/login" element={<Login />} />
|
||||
<Route path="/forgot-password" element={<ForgotPassword />} />
|
||||
<Route path="/reset-password" element={<ResetPassword />} />
|
||||
<Route path="/setup-account" element={<SetupAccount />} />
|
||||
<Route path="/" element={<AuthGuard><Dashboard /></AuthGuard>} />
|
||||
<Route path="/admin/users" element={<AuthGuard><TeamManagement /></AuthGuard>} />
|
||||
<Route path="/admin/teams" element={<AuthGuard><Teams /></AuthGuard>} />
|
||||
|
||||
Reference in New Issue
Block a user