mirror of
https://github.com/owncast/owncast.git
synced 2024-12-23 01:31:10 +03:00
19 lines
535 B
TypeScript
19 lines
535 B
TypeScript
|
import { AppProps } from 'next/app';
|
||
|
import ServerStatusProvider from '../../utils/server-status-context';
|
||
|
import AlertMessageProvider from '../../utils/alert-message-context';
|
||
|
import MainLayout from '../../components/main-layout';
|
||
|
|
||
|
function AdminLayout({ Component, pageProps }: AppProps) {
|
||
|
return (
|
||
|
<ServerStatusProvider>
|
||
|
<AlertMessageProvider>
|
||
|
<MainLayout>
|
||
|
<Component {...pageProps} />
|
||
|
</MainLayout>
|
||
|
</AlertMessageProvider>
|
||
|
</ServerStatusProvider>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
export default AdminLayout;
|