mirror of
https://github.com/owncast/owncast.git
synced 2024-12-28 12:08:32 +03:00
16 lines
508 B
TypeScript
16 lines
508 B
TypeScript
|
import { AppProps } from 'next/app';
|
||
|
import { FC } from 'react';
|
||
|
import ServerStatusProvider from '../../utils/server-status-context';
|
||
|
import AlertMessageProvider from '../../utils/alert-message-context';
|
||
|
import { MainLayout } from '../MainLayout';
|
||
|
|
||
|
export const AdminLayout: FC<AppProps> = ({ Component, pageProps }) => (
|
||
|
<ServerStatusProvider>
|
||
|
<AlertMessageProvider>
|
||
|
<MainLayout>
|
||
|
<Component {...pageProps} />
|
||
|
</MainLayout>
|
||
|
</AlertMessageProvider>
|
||
|
</ServerStatusProvider>
|
||
|
);
|