14 lines
365 B
TypeScript
14 lines
365 B
TypeScript
import { trpc } from "@calcom/trpc/react";
|
|
|
|
import type { AppProps } from "@lib/app-providers";
|
|
|
|
import "../styles/globals.css";
|
|
|
|
function MyApp(props: AppProps) {
|
|
const { Component, pageProps } = props;
|
|
if (Component.PageWrapper !== undefined) return Component.PageWrapper(props);
|
|
return <Component {...pageProps} />;
|
|
}
|
|
|
|
export default trpc.withTRPC(MyApp);
|