gatsby-starter icon indicating copy to clipboard operation
gatsby-starter copied to clipboard

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

Open garthk opened this issue 7 years ago • 3 comments

  • gatsby new xxx https://github.com/fabien0102/gatsby-starter
  • cd xxx
  • npm start
  • browse to http://localhost:8000/blog/ with Chrome 63.0.3239.132
  • observe console error Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>.

garthk avatar Jan 21 '18 04:01 garthk

It's is because <a> contains <Link>

sielay avatar Mar 20 '18 22:03 sielay

Having the same issue as @garthk. Did you get it fixed yet? @sielay any help?

cortehz avatar Jun 05 '18 11:06 cortehz

mmm, cant seem to fix this either using reactstrap navItems with the Link inside it...

skdigital avatar Feb 07 '19 18:02 skdigital