cal.pub0.org/pages/_app.tsx

17 lines
472 B
TypeScript
Raw Normal View History

2021-07-07 10:43:13 +00:00
import "../styles/globals.css";
import { createTelemetryClient, TelemetryProvider } from "../lib/telemetry";
import { Provider } from "next-auth/client";
import type { AppProps } from "next/app";
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}>
<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;