Implement redux.
This commit is contained in:
1 parent
9d8a2406e1
commit
5d4ff5cfa4
31 files changed
+341
-85
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import React from 'react';
|
||||
import Layout from 'components/Layout';
|
||||
import Settings from 'components/Settings';
|
||||
import useUser from 'hooks/useUser';
|
||||
|
||||
export default function SettingsPage() {
|
||||
const { loading } = useUser();
|
||||
|
||||
if (loading) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<Settings />
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user