Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes issue #239 added legacyBehavior #242

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Prudhvi-232
Copy link

The error we're encountering is related to the use of the component from Next.js, which has changed in newer versions. Specifically, Next.js no longer allows an tag as a direct child of a component without using legacyBehavior.

Before Changes:

Screenshot 2024-08-19 223030

After Adding legacyBehavior:

image

We can also fix this by removing the <a> tag, but that could cause issues in the future if we need to add attributes like target to the anchor tag.

Copy link

vercel bot commented Aug 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 5:19pm

@Prudhvi-232 Prudhvi-232 changed the title Fixes issue 239 added legacyBehavior Fixes issue #239 added legacyBehavior Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant