You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Link href="/category/[categoryId]" as={"/category/" + cat}>
<a
title={`Click to see deals in ${cat} category`}
css={tw` font-semibold shadow-sm inline-block py-1 px-2 last:mr-0 mr-3 rounded `} ... // this is the cause
Code above should render like this <aclass="text-gray-600 bg-gray-200 text-lg" href="/category/VIDEO">VIDEO</a>
but I just got <a class="text-gray-600 bg-gray-200 text-lg" >VIDEO</a>
The href attr gone.
it's easy to fix by remove css and use className attr but this is an error, i think :D
This discussion was converted from issue #16869 on September 06, 2020 15:18.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi have a component like this
Code above should render like this
<aclass="text-gray-600 bg-gray-200 text-lg" href="/category/VIDEO">VIDEO</a>
but I just got
<a class="text-gray-600 bg-gray-200 text-lg" >VIDEO</a>
The href attr gone.
it's easy to fix by remove css and use className attr but this is an error, i think :D
Beta Was this translation helpful? Give feedback.
All reactions