mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 11:35:37 +01:00
using constants to define header/footer appearence
This commit is contained in:
parent
00adf86fa8
commit
cdb77f1be1
5 changed files with 20 additions and 9 deletions
|
|
@ -2,6 +2,7 @@ import React from 'react';
|
|||
import Layout from 'components/layout/Layout';
|
||||
import Settings from 'components/pages/Settings';
|
||||
import useRequireLogin from 'hooks/useRequireLogin';
|
||||
import { SHOW_HEADER, SHOW_FOOTER } from 'lib/constants';
|
||||
|
||||
export default function SettingsPage() {
|
||||
const { loading } = useRequireLogin();
|
||||
|
|
@ -11,7 +12,7 @@ export default function SettingsPage() {
|
|||
}
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<Layout header={SHOW_HEADER} footer={SHOW_FOOTER}>
|
||||
<Settings />
|
||||
</Layout>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue