gbowne1 / codebooker

This is a book recommendation app created with React 18.2 and MUI for coders/programmers looking for reccomendations to books on programming/coding to read

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Privacy Policy: validateDOMNesting(...): <ul> cannot appear as a descendant of <p>.

gbowne1 opened this issue · comments

In the /privacy-policy route, I am getting this in the console:

Warning: validateDOMNesting(...): <ul> cannot appear as a descendant of <p>.
ul
p
span
div
PrivacyPolicy
RenderedRoute@http://localhost:3000/static/js/bundle.js:103136:7
Outlet@http://localhost:3000/static/js/bundle.js:103620:3
div
UserAuthenticated@http://localhost:3000/static/js/bundle.js:228:56
RenderedRoute@http://localhost:3000/static/js/bundle.js:103136:7
Routes@http://localhost:3000/static/js/bundle.js:103705:7
Router@http://localhost:3000/static/js/bundle.js:103647:7
BrowserRouter@http://localhost:3000/static/js/bundle.js:101820:7
App
StyledEngineProvider@http://localhost:3000/static/js/bundle.js:34995:7 [localhost:3000:2367:25](http://localhost:3000/)
    overrideMethod (index):2367
    React 15
    setState index.tsx:328
    push history.ts:650
    navigate hooks.tsx:238
    navigateToPrivacyPolicy Dropdown.js:63
    React 32
    workLoop scheduler.development.js:266
    flushWork scheduler.development.js:239
    performWorkUntilDeadline scheduler.development.js:533
    (Async: EventHandlerNonNull)
    js scheduler.development.js:571
    js scheduler.development.js:633
    factory react refresh:6
    Webpack 24
        __webpack_require__
        fn
        js
        factory
        __webpack_require__
        fn
        js
        js
        factory
        __webpack_require__
        fn
        js
        factory
        __webpack_require__
        fn
        js
        factory
        __webpack_require__
        fn
        js
        factory
        __webpack_require__
        <anonymous>
        <anonymous>

It's an HTML issue, just modify the document tree. I'll be able to help with this, please assign me to this issue.

ok @KitaPDev Thank you! Will assign you.