2023-02-10 20:05:02 +00:00
|
|
|
import { trpc } from "@calcom/trpc/react";
|
2022-03-31 08:45:47 +00:00
|
|
|
|
2023-02-16 22:39:57 +00:00
|
|
|
import type { AppProps } from "@lib/app-providers";
|
2021-10-12 13:11:33 +00:00
|
|
|
|
2021-09-22 19:52:38 +00:00
|
|
|
import "../styles/globals.css";
|
|
|
|
|
2021-09-27 14:47:55 +00:00
|
|
|
function MyApp(props: AppProps) {
|
2023-04-18 18:45:32 +00:00
|
|
|
const { Component, pageProps } = props;
|
|
|
|
if (Component.PageWrapper !== undefined) return Component.PageWrapper(props);
|
|
|
|
return <Component {...pageProps} />;
|
2021-03-10 10:02:39 +00:00
|
|
|
}
|
|
|
|
|
2023-02-10 20:05:02 +00:00
|
|
|
export default trpc.withTRPC(MyApp);
|