penumbra-zone / cuiloa

Block explorer for the Penumbra Zone network
https://cuiloa.testnet.penumbra.zone
Apache License 2.0
6 stars 1 forks source link

"Double Click" on index page links #78

Closed ejmg closed 1 month ago

ejmg commented 3 months ago

Summary

The landing page's card currently requires ~2 clicks to register route changes. That's dumb and bad.

Description

Right now, it appears that the list of links that are served on / require 2 clicks to initially register. Afterwards, caching seems to fix the problem. I suspect this is erroneous behavior brought on by rsc and however that specific segment of the UI is rehydrated by the client.

ejmg commented 1 month ago

101 incidentally included the fix for this, was missing asChild property on each button component.