nextjs _app.tsx type error #2017
Answered
by
ChristianMurphy
youngkyo0504
asked this question in
Q&A
-
import "../styles/globals.css";
import type { AppProps } from "next/app";
import { AnimatePresence } from "framer-motion";
function MyApp({ Component, pageProps, router }: AppProps) {
return (
<>
<Component key={router.route} {...pageProps} />
</>
);
}
export default MyApp; this is error message..!
and this is my source code.
|
Beta Was this translation helpful? Give feedback.
Answered by
ChristianMurphy
Apr 19, 2022
Replies: 1 comment
-
@youngkyo0504 could you share a runnable example of what you are seeing? The example you provide doesn't appear to use MDX |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ChristianMurphy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@youngkyo0504 could you share a runnable example of what you are seeing?
Using https://codesandbox.io/s/github/mdx-js/.github/tree/main/sandbox-templates/mdx-loader-next or https://stackblitz.com/github/mdx-js/.github/tree/main/sandbox-templates/mdx-loader-next as a basis?
The example you provide doesn't appear to use MDX