update personal dashboard screen

This commit is contained in:
2023-11-03 15:38:58 +07:00
parent 64b4745993
commit da0b48c5df
22 changed files with 499 additions and 61 deletions

View File

@@ -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 };
},
},
],
},
{