SyntaxUI / syntaxui

Get free access to pre-built, Tailwind CSS-powered components, animations and effects - brought to life using Framer Motion. Just copy, paste and you're ready to go!
https://syntaxui.com
MIT License
636 stars 45 forks source link

fix: duplicate html and body tags #110

Closed epoll31 closed 2 months ago

epoll31 commented 2 months ago

fix: #107

Error was cause from having html and body components in both src/app/layout.tsx and src/app/docs/layout.tsx.

Layouts are nested which means that src/app/layout.tsx is applied then src/app/docs/layout.tsx is placed inside of if which meant that we essentially had html > body > html > body which isn't allowed.

To fix this, I combined the html, body, and div components in src/app/docs/layout.tsx into a single div component.

vercel[bot] commented 2 months ago

@epoll31 is attempting to deploy a commit to the SyntaxUI Team on Vercel.

A member of the Team first needs to authorize it.

Ansub commented 2 months ago

makes sense, nice catch Ethan