mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
added new route for userprofile
This commit is contained in:
@@ -13,6 +13,7 @@ const Customizations = lazy(() => import('app/main/Customizations'));
|
|||||||
const Scheduler = lazy(() => import('app/main/Scheduler'));
|
const Scheduler = lazy(() => import('app/main/Scheduler'));
|
||||||
const CustomEntities = lazy(() => import('app/main/CustomEntities'));
|
const CustomEntities = lazy(() => import('app/main/CustomEntities'));
|
||||||
const Modules = lazy(() => import('app/main/Modules'));
|
const Modules = lazy(() => import('app/main/Modules'));
|
||||||
|
const UserProfile = lazy(() => import('app/main/UserProfile'));
|
||||||
|
|
||||||
const Status = lazy(() => import('app/status/Status'));
|
const Status = lazy(() => import('app/status/Status'));
|
||||||
const HardwareStatus = lazy(() => import('app/status/HardwareStatus'));
|
const HardwareStatus = lazy(() => import('app/status/HardwareStatus'));
|
||||||
@@ -43,6 +44,7 @@ const AuthenticatedRouting = memo(() => {
|
|||||||
<Route path="/devices/*" element={<Devices />} />
|
<Route path="/devices/*" element={<Devices />} />
|
||||||
<Route path="/sensors/*" element={<Sensors />} />
|
<Route path="/sensors/*" element={<Sensors />} />
|
||||||
<Route path="/help/*" element={<Help />} />
|
<Route path="/help/*" element={<Help />} />
|
||||||
|
<Route path="/user/*" element={<UserProfile />} />
|
||||||
|
|
||||||
<Route path="/status/*" element={<Status />} />
|
<Route path="/status/*" element={<Status />} />
|
||||||
<Route path="/status/hardwarestatus/*" element={<HardwareStatus />} />
|
<Route path="/status/hardwarestatus/*" element={<HardwareStatus />} />
|
||||||
|
|||||||
Reference in New Issue
Block a user