owncast/web/pages/_app.tsx

30 lines
780 B
TypeScript
Raw Normal View History

import 'antd/dist/antd.css';
import '../styles/colors.scss';
import '../styles/globals.scss';
import '../styles/ant-overrides.scss';
import '../styles/home.scss';
2020-12-23 08:15:37 +01:00
import '../styles/chat.scss';
2020-12-26 22:59:41 +01:00
import '../styles/config.scss';
2021-01-31 19:13:35 +01:00
import '../styles/config-formfields.scss';
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';
2020-10-01 00:12:10 +02:00
function App({ Component, pageProps }: AppProps) {
return (
<ServerStatusProvider>
<AlertMessageProvider>
<MainLayout>
<Component {...pageProps} />
</MainLayout>
</AlertMessageProvider>
</ServerStatusProvider>
2021-01-31 10:38:20 +01:00
);
2020-10-01 00:12:10 +02:00
}
2021-01-31 10:38:20 +01:00
export default App;