next-saas-starter
next-saas-starter copied to clipboard
Error: Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
First, I was getting error @types/react are not installed, I resolved this by upgrading nextjs and react versions. then, I was able to run my local server.
Now, I am getting this error on root page and pages cannot load. It would be great if I get the details to fix this issue. Thanks
Every time you see <NextLink...> add legacyBehavior: e.g. <NextLink href="#" passHref legacyBehavior>