mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-16 02:05:04 +01:00
19 lines
364 B
JavaScript
19 lines
364 B
JavaScript
import React from 'react';
|
|
import Layout from 'components/layout/Layout';
|
|
import Settings from 'components/pages/Settings';
|
|
import useRequireLogin from 'hooks/useRequireLogin';
|
|
|
|
export default function SettingsPage() {
|
|
const { loading } = useRequireLogin();
|
|
|
|
if (loading) {
|
|
return null;
|
|
}
|
|
|
|
return (
|
|
<Layout>
|
|
<Settings />
|
|
</Layout>
|
|
);
|
|
}
|