feat: add primitive profile settings
This commit is contained in:
committed by
Ömer Faruk Aydın
parent
68e5e6d011
commit
140734b32c
13
packages/web/src/settingsRoutes.tsx
Normal file
13
packages/web/src/settingsRoutes.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Route, Navigate } from 'react-router-dom';
|
||||
import SettingsLayout from 'components/SettingsLayout';
|
||||
import ProfileSettings from 'pages/ProfileSettings';
|
||||
|
||||
import * as URLS from 'config/urls';
|
||||
|
||||
export default (
|
||||
<>
|
||||
<Route path={URLS.SETTINGS_PROFILE} element={<SettingsLayout><ProfileSettings /></SettingsLayout>} />
|
||||
|
||||
<Route path={URLS.SETTINGS} element={<Navigate to={URLS.SETTINGS_PROFILE} />} />
|
||||
</>
|
||||
);
|
||||
Reference in New Issue
Block a user