Implement search for new header

This commit is contained in:
Meier Lukas
2023-07-29 20:56:08 +02:00
parent ed23e388f9
commit 0c3d9f335c
5 changed files with 294 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
import { getCookie, setCookie } from 'cookies-next';
import fs from 'fs';
import { GetServerSidePropsContext } from 'next';
import { MainLayout } from '~/components/layout/main';
import { LoadConfigComponent } from '../components/Config/LoadConfig';
import { Dashboard } from '../components/Dashboard/Dashboard';
@@ -62,9 +63,9 @@ export default function HomePage({ config: initialConfig }: DashboardServerSideP
useInitConfig(initialConfig);
return (
<Layout>
<MainLayout>
<Dashboard />
<LoadConfigComponent />
</Layout>
</MainLayout>
);
}