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

Footer: Fix HTML Semantics Warning #2189

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

ianrohde
Copy link
Contributor

@ianrohde ianrohde commented Jan 8, 2024

Issue

Quick fix. I'm seeing this warning on dev:

Warning: validateDOMNesting(...): <p> cannot appear as a descendant of <p>.

Screenshot 2024-01-08 at 11 42 02 AM

We're passing in children, which looks to have another Text component or paragraph element, so let's convert the parent to a Box instead.

CR/QA

Confirm footer is still functioning as expected.

- <p> cannot appear as a descendant of <p>.
@ghost
Copy link

ghost commented Jan 8, 2024

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

Copy link
Contributor

github-actions bot commented Jan 8, 2024

📦 Next.js Bundle Analysis for @ifixit/commerce-frontend

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link

vercel bot commented Jan 8, 2024

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

Name Status Preview Comments Updated (UTC)
react-commerce ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 8, 2024 7:59pm

@ianrohde ianrohde marked this pull request as ready for review January 8, 2024 20:01
Copy link
Contributor

@ardelato ardelato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CR 👍

@kthaler kthaler self-assigned this Jan 8, 2024
@kthaler kthaler added the QAing Under QA team review label Jan 8, 2024
@kthaler
Copy link
Contributor

kthaler commented Jan 8, 2024

QA 💎 - Footer still works as expected on all pages

@kthaler kthaler removed the QAing Under QA team review label Jan 8, 2024
@ianrohde ianrohde merged commit 2bc4c24 into main Jan 8, 2024
15 checks passed
@ianrohde ianrohde deleted the Footer--Fix-html-semantics-warning branch January 8, 2024 21:25
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.

3 participants