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