s-yadav / react-meta-tags

Handle document meta/head tags in isomorphic react with ease.
MIT License
226 stars 47 forks source link

Getting DOMException while using dynamic tags. #30

Open awaismazher opened 5 years ago

awaismazher commented 5 years ago

I'm trying to use my Meta Tags component based on props. But it is giving me the following exception.

6.app.eaf800e13c4a4772da08.js:1 DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
    at t.removeChild (https://www.mobilelive.ca/2.app.cbc7ee4c9ab4bb71272f.js:1:7320)
    at Array.forEach (<anonymous>)
    at HTMLDivElement.<anonymous> 
john-martinez-729 commented 3 years ago

I am getting the same issue.

zokirz commented 1 year ago

A bit old topic, but make sure that you don't have twice. It should be just one 'title' element within MetaTags.</p> <MetaTags> <title>Title