fix: dashboard api calls, multi profile fetch
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Layout } from '@/components';
|
||||
import { NavigateWithToast } from '@/components/NavigateWithToast';
|
||||
import { ProfileProvider } from '@/features/profile/providers/ProfileProvider';
|
||||
import {
|
||||
Calendar,
|
||||
Devices,
|
||||
@@ -93,7 +94,7 @@ export const appRoutes: RouteConfig[] = [
|
||||
element: <AccountCreatedPage />,
|
||||
authorize: true,
|
||||
},
|
||||
{ path: '/signup', element: <UserCompletionPage />, authorize: true },
|
||||
{ path: '/signup', element: <UserCompletionPage /> },
|
||||
{
|
||||
path: '/forget-password',
|
||||
element: <ForgetPasswordPage />,
|
||||
@@ -101,7 +102,11 @@ export const appRoutes: RouteConfig[] = [
|
||||
|
||||
{
|
||||
path: '/setting',
|
||||
element: <Layout />,
|
||||
element: (
|
||||
<ProfileProvider>
|
||||
<Layout />
|
||||
</ProfileProvider>
|
||||
),
|
||||
authorize: true,
|
||||
children: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user