Added router navigation for settings and details.
This commit is contained in:
1 parent
30bca80dac
commit
53c23a280b
21 files changed
+156
-73
No files matched your search
@@ -0,0 +1,3 @@
|
||||
import Index from './index';
|
||||
|
||||
export default Index;
|
||||
@@ -0,0 +1,18 @@
|
||||
import React from 'react';
|
||||
import Layout from 'components/layout/Layout';
|
||||
import Settings from 'components/settings/Settings';
|
||||
import useRequireLogin from 'hooks/useRequireLogin';
|
||||
|
||||
export default function SettingsPage() {
|
||||
const { loading } = useRequireLogin();
|
||||
|
||||
if (loading) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<Settings />
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
import Index from './index';
|
||||
|
||||
export default Index;
|
||||
Reference in new issue
Block a user