cal.pub0.org/apps/web/pages/_app.tsx

14 lines
365 B
TypeScript
Raw Normal View History

import { trpc } from "@calcom/trpc/react";
2022-03-31 08:45:47 +00:00
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} />;
2021-03-10 10:02:39 +00:00
}
export default trpc.withTRPC(MyApp);