2021-07-07 10:43:13 +00:00
|
|
|
import "../styles/globals.css";
|
2021-08-03 18:15:24 +00:00
|
|
|
import { createTelemetryClient, TelemetryProvider } from "@lib/telemetry";
|
2021-07-07 10:43:13 +00:00
|
|
|
import { Provider } from "next-auth/client";
|
2021-07-02 10:32:45 +00:00
|
|
|
import type { AppProps } from "next/app";
|
2021-08-03 18:15:24 +00:00
|
|
|
import Head from "next/head";
|
2021-03-10 10:02:39 +00:00
|
|
|
|
2021-07-02 10:28:33 +00:00
|
|
|
function MyApp({ Component, pageProps }: AppProps) {
|
2021-03-24 15:03:04 +00:00
|
|
|
return (
|
2021-07-07 10:43:13 +00:00
|
|
|
<TelemetryProvider value={createTelemetryClient()}>
|
|
|
|
<Provider session={pageProps.session}>
|
2021-08-03 18:15:24 +00:00
|
|
|
<Head>
|
2021-08-08 19:21:33 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2021-08-03 18:15:24 +00:00
|
|
|
</Head>
|
2021-07-07 10:43:13 +00:00
|
|
|
<Component {...pageProps} />
|
|
|
|
</Provider>
|
|
|
|
</TelemetryProvider>
|
2021-04-11 17:12:18 +00:00
|
|
|
);
|
2021-03-10 10:02:39 +00:00
|
|
|
}
|
|
|
|
|
2021-04-11 17:12:18 +00:00
|
|
|
export default MyApp;
|