JesseEyler / microservice-blogging-platform

This project implements a simple blogging platform that utilizes microservice architecture and a fully automated CI/CD pipeline.
MIT License
0 stars 0 forks source link

Nextjs Link error #8

Closed JesseEyler closed 1 year ago

JesseEyler commented 1 year ago

Running the app gives the following:

Error: Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.

Due to unfamiliarity with Nextjs 13, this requires some investigation.

JesseEyler commented 1 year ago

Fixed issue by disabling the new Link behavior introduced in Nextjs 13. The example that I referenced must have been written before version 13 came out.

The issue was already fixed in release 0.2.0, so reference next.config.js for the fix.