feat: split the preferences pages

This commit is contained in:
Ahmed Bouhuolia
2024-08-29 20:49:08 +02:00
parent c9fe6d9b37
commit af284f3f6d
7 changed files with 888 additions and 85 deletions

View File

@@ -3,7 +3,7 @@ import { lazy } from 'react';
const BASE_URL = '/preferences';
export default [
export const getPreferenceRoutes = () => [
{
path: `${BASE_URL}/general`,
component: lazy(() => import('@/containers/Preferences/General/General')),