Files
explore/pages
zeekay 6865d8ead1 fix(explore): the mobile home page was a crash screen — no animation driver
Every phone visitor got "Oops! Something went wrong" instead of the
explorer. Desktop and tablet were clean, which is why it survived.

@hanzogui v5 ships WITHOUT an animation driver by design; the app has to
supply one. `@luxfi/ui`'s own config (packages/ui/src/lux.config.ts) has
carried `animations` from `@hanzogui/config/v5-css` since it was written —
this second, hand-rolled config predates that and never got the key. gui's
Sheet reads `useAnimatedNumber` straight off the driver and calls
`.setValue()` on the result, so with no driver it threw

    TypeError: Cannot read properties of undefined (reading 'setValue')
      at SheetImplementationCustom.useIsomorphicLayoutEffect

into the error boundary. Every @luxfi/ui Drawer here — Burger, mobile
search, wallet and profile sheets — mounts ONLY below the mobile
breakpoint, so the crash was viewport-gated and invisible above it.

Measured on the home page, one variable changed:
  390px   before "Oops! Something went wrong"  after full page, 0 pageerrors
  834px   before renders                       after renders
  1440px  before renders                       after renders

and /validators at 390px now reads 5 validators / 2,500,000,000 LUX, which
is what platform.getCurrentValidators returns.

The real lesson is the duplicate config, not the missing key: this app
hand-rolls a gui config that @luxfi/ui already owns. Folding it onto the
umbrella's is the follow-up.
2026-07-27 18:27:16 -07:00
..
2025-09-05 15:53:00 +02:00
2025-10-17 14:58:12 +02:00
2025-12-18 16:02:53 +01:00
2025-09-23 20:41:43 +02:00