Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

React warnings on How to Buy page #396

Closed
rootulp opened this issue Sep 22, 2021 · 2 comments · Fixed by #418
Closed

React warnings on How to Buy page #396

rootulp opened this issue Sep 22, 2021 · 2 comments · Fixed by #418
Assignees
Labels
bug Something isn't working

Comments

@rootulp
Copy link
Contributor

rootulp commented Sep 22, 2021

Describe the bug
React console errors observed on the How to Buy page

To Reproduce
Steps to reproduce the behavior:

  1. Go to http://localhost:3000/how-to-buy
  2. Open Chrom dev console
  3. Observed errors of the form:
Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>.
    in div (at HowToBuy.tsx:74)
    in div (at HowToBuy.tsx:71)
    in ol (at HowToBuy.tsx:166)
    in p (created by styled.p)
    in styled.p (at HowToBuy.tsx:162)
    in div (at HowToBuy.tsx:157)
    in div (created by styled.div)
    in styled.div (at HowToBuy.tsx:156)
    in div (created by styled.div)
    in styled.div (created by Container)
    in Container (at HowToBuy.tsx:125)
    in div (created by styled.div)
    in styled.div (at Page.tsx:8)
    in div (created by styled.div)
    in styled.div (at Page.tsx:7)
...

Expected behavior
No console errors

Screenshots
Screen Shot 2021-09-21 at 9 41 51 PM

Desktop (please complete the following information):
Chrome

@rootulp rootulp added the bug Something isn't working label Sep 22, 2021
@rootulp
Copy link
Contributor Author

rootulp commented Sep 22, 2021

This would be a good first issue for new contributors if we want to add the "help wanted" or "good first issue" labels

@0xModene
Copy link
Contributor

For sure, add this to the wizardry board

rootulp added a commit to rootulp/index-ui that referenced this issue Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants