ajith1989 / nectar-elements

MIT License
0 stars 0 forks source link

Console Error on Preview Component #1

Open tony-stark-edith opened 2 years ago

tony-stark-edith commented 2 years ago

@ajith1989 validateDOMNesting(...): <a> cannot appear as a descendant of <a>.

Screenshot 2022-04-18 at 5 18 03 PM
ajith1989 commented 2 years ago

@tony-stark-edith Could you specify the preview component?

tony-stark-edith commented 2 years ago

I think, this happens when Thumbnail component is used in List component image prop. It produces a situation where <a> in Thumbnail to be appear as a child of <a> in List. It is shown as the warning message in development mode. Please refer this issue

@ajith1989