mirror of
https://github.com/kremalicious/umami.git
synced 2024-06-28 16:57:52 +02:00
19 lines
327 B
JavaScript
19 lines
327 B
JavaScript
|
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>
|
||
|
);
|
||
|
}
|