umami/pages/settings.js
2020-08-05 19:04:02 -07:00

19 lines
351 B
JavaScript

import React from 'react';
import Layout from 'components/Layout';
import Settings from 'components/Settings';
import useRequireLogin from 'hooks/useRequireLogin';
export default function SettingsPage() {
const { loading } = useRequireLogin();
if (loading) {
return null;
}
return (
<Layout>
<Settings />
</Layout>
);
}