liteflow-labs / starter-kit

NFT Marketplace running on the Liteflow infrastructure
https://demo.liteflow.com
Apache License 2.0
11 stars 43 forks source link

Invalid dom generated #503

Closed antho1404 closed 11 months ago

antho1404 commented 11 months ago

Seems like the MarkdownViewer creates some issues of invalid dom

Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>.
    at div
    at eval (webpack-internal:///./node_modules/@emotion/react/dist/emotion-element-c39617d8.browser.esm.js:56:66)
    at ChakraComponent (webpack-internal:///./node_modules/@chakra-ui/system/dist/chunk-E32MZNBA.mjs:56:76)
    at div
    at eval (webpack-internal:///./node_modules/@emotion/react/dist/emotion-element-c39617d8.browser.esm.js:56:66)
    at ChakraComponent (webpack-internal:///./node_modules/@chakra-ui/system/dist/chunk-E32MZNBA.mjs:56:76)
    at MarkdownViewer (webpack-internal:///./components/MarkdownViewer.tsx:34:11)
    at p
ismailToyran commented 11 months ago

Should be fixed with https://github.com/liteflow-labs/starter-kit/pull/507