cal.pub0.org/pages/_app.tsx

16 lines
430 B
TypeScript
Raw Normal View History

2021-04-11 17:12:18 +00:00
import '../styles/globals.css';
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 (
<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;