2021-04-11 17:12:18 +00:00
|
|
|
import '../styles/globals.css';
|
2021-04-27 14:19:12 +00:00
|
|
|
import {createTelemetryClient, TelemetryProvider} from '../lib/telemetry';
|
2021-04-11 17:12:18 +00:00
|
|
|
import { Provider } from 'next-auth/client';
|
2021-03-10 10:02:39 +00:00
|
|
|
|
|
|
|
function MyApp({ Component, pageProps }) {
|
2021-03-24 15:03:04 +00:00
|
|
|
return (
|
2021-04-27 14:19:12 +00:00
|
|
|
<TelemetryProvider value={createTelemetryClient()}>
|
|
|
|
<Provider session={pageProps.session}>
|
|
|
|
<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;
|