#hydration

1 messages · Page 1 of 1 (latest)

inland umbra
#

pictures gonna be easier to read i suppose

#

page that renders cards (query sanity cms)

#

when I comment card's link, hydration error resolves

cunning osprey
#

first .please add li element inside UL element

#

wrap the Link with li element.

inland umbra
#

did not help

#

I also restarted the server

#

this error is something special today...

cunning osprey
#

ok

#

can yyou console the tag

inland umbra
#

tags are simple strings

#

next and sanity

#

the render on page and function properly

#

the error just pops up

cunning osprey
#

just wondering can we use link inside link ?

#

can you commet nested link and see what happens ?

inland umbra
#

Oh

#

yes you are goddamn right

cunning osprey
#

ya

#

of course

inland umbra
#

hmmmmmmmmmmm

#

how can I fix it tho

cunning osprey
#

you need to write div and use router push then

inland umbra
#

that's gonna be a hook

#

client logic

#

can I davoid it? just use <a>?

cunning osprey
#

router would work rght ?

inland umbra
#

it would

cunning osprey
#

i like it

inland umbra
#

martian mono

cunning osprey
#

ya

inland umbra
#

little better looking than roboto mono

#

mho

cunning osprey
#

so solved ?

inland umbra
#

no, wrapping link up in a tag <a> did not help

cunning osprey
#

ok.

#

then just use router push

inland umbra
#

changing next and sanity Link to <a> did not helo either