update personal dashboard screen
This commit is contained in:
23
src/app.tsx
23
src/app.tsx
@@ -110,13 +110,34 @@ export default function App() {
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/personal',
|
||||
element: <AppLayout />,
|
||||
errorElement: <ErrorScreen />,
|
||||
children: [
|
||||
{
|
||||
path: 'personal',
|
||||
path: '',
|
||||
async lazy() {
|
||||
const { PersonalScreen } = await import('@app/personal');
|
||||
return { Component: PersonalScreen };
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'edit-profile',
|
||||
async lazy() {
|
||||
const { EditProfileScreen } = await import('@app/personal/editProfile');
|
||||
return { Component: EditProfileScreen };
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'edit-contact',
|
||||
async lazy() {
|
||||
const { EditContactScreen } = await import('@app/personal/editContact');
|
||||
return { Component: EditContactScreen };
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user