umami.waylonwalker.com/pages/settings/index.js
WaylonWalker 4047a7ec23 Initial commit
Created from https://vercel.com/new
2021-12-08 18:25:42 +00:00

18 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>
);
}