cal.pub0.org/pages/_app.tsx

21 lines
614 B
TypeScript
Raw Normal View History

2021-07-07 10:43:13 +00:00
import "../styles/globals.css";
import { createTelemetryClient, TelemetryProvider } from "@lib/telemetry";
2021-07-07 10:43:13 +00:00
import { Provider } from "next-auth/client";
import type { AppProps } from "next/app";
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}>
<Head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</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;