Chizi Victor
Chizi Victor
TTCTheo's Typesafe Cult
Created by General Mudkipp on 5/27/2023 in #questions
'Component' cannot be used as a JSX component.
Could you give this a try…
11 replies
TTCTheo's Typesafe Cult
Created by General Mudkipp on 5/27/2023 in #questions
'Component' cannot be used as a JSX component.
import type { AppProps } from 'next/app';
import "~/styles/globals.css";

function MyApp({ Component, pageProps }: AppProps) {
return <Component {...pageProps} />;
}

export default MyApp;
import type { AppProps } from 'next/app';
import "~/styles/globals.css";

function MyApp({ Component, pageProps }: AppProps) {
return <Component {...pageProps} />;
}

export default MyApp;
11 replies
TTCTheo's Typesafe Cult
Created by General Mudkipp on 5/27/2023 in #questions
'Component' cannot be used as a JSX component.
I think your AppType is wrong
11 replies
TTCTheo's Typesafe Cult
Created by Chizi Victor on 11/30/2022 in #questions
global react query config for trpc
Ah perfect…!! Thanks a bunch @ryanagillie 🙏🙏
7 replies