mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
checkpoint
This commit is contained in:
parent
db1ae3f2c7
commit
9e8748e2f3
14 changed files with 24 additions and 101 deletions
|
|
@ -4,7 +4,7 @@ import TestConsole from 'components/pages/TestConsole';
|
|||
import useRequireLogin from 'hooks/useRequireLogin';
|
||||
import useUser from 'hooks/useUser';
|
||||
|
||||
export default function ConsolePage({ enabled, settingsDisabled }) {
|
||||
export default function ConsolePage({ enabled }) {
|
||||
const { loading } = useRequireLogin();
|
||||
const { user } = useUser();
|
||||
|
||||
|
|
@ -13,14 +13,8 @@ export default function ConsolePage({ enabled, settingsDisabled }) {
|
|||
}
|
||||
|
||||
return (
|
||||
<Layout settingsDisabled={settingsDisabled}>
|
||||
<Layout>
|
||||
<TestConsole />
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
|
||||
export async function getServerSideProps() {
|
||||
return {
|
||||
props: { enabled: !!process.env.ENABLE_TEST_CONSOLE },
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue