where image is the raw content of the HTML, and it is giving me the error Warning: validateDOMNesting(...): <html> cannot appear as a child of <div>.. I am sharing the files I tried to render. This code worked in rendering the working.html file, but not the not_working.html
Greetings!
I have a React app, where I am trying to render an HTML file using
where
image
is the raw content of the HTML, and it is giving me the errorWarning: validateDOMNesting(...): <html> cannot appear as a child of <div>.
. I am sharing the files I tried to render. This code worked in rendering theworking.html
file, but not thenot_working.html