mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-05 05:00:06 +00:00
fix validation & implement profile page (#5)
* fix validation * implement profile page * catch error
This commit is contained in:
@@ -27,6 +27,7 @@ import AlertRulePage from './routes/alert-rule';
|
||||
import SettingsPage from './routes/settings';
|
||||
import UserPage from './routes/user';
|
||||
import WAFPage from './routes/waf';
|
||||
import ProfilePage from './routes/profile';
|
||||
|
||||
const router = createBrowserRouter([
|
||||
{
|
||||
@@ -90,6 +91,10 @@ const router = createBrowserRouter([
|
||||
path: "/dashboard/terminal/:id",
|
||||
element: <TerminalPage />,
|
||||
},
|
||||
{
|
||||
path: "/dashboard/profile",
|
||||
element: <ServerProvider withServer withServerGroup><ProfilePage /></ServerProvider>,
|
||||
},
|
||||
{
|
||||
path: "/dashboard/settings",
|
||||
element: <SettingsPage />,
|
||||
|
||||
Reference in New Issue
Block a user