mirror of
https://github.com/hanzoai/site.git
synced 2026-11-21 00:51:59 +00:00
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdwj33XByFVTvu9bfci
919 B
919 B
/bounty: requests to the shared system
- Ask.jsx (desktop header ask can revert mid-page). The desktop effect writes the page's ask into the header's button once and caches
shown; it only rewrites whenshownflips. If the header's text node is put back to "Try Hanzo" underneath it (a header re-render, e.g. Fast Refresh while other files change in dev), the cache still says shown and the header reads "Try Hanzo" until the hero comes back. The 7 Nov 16:30 review saw this on slow walks. In 4 slow walks here (120 and 200px notches, 1s dwell) it did not reproduce once the page guard was in. Suggested fix: inupdate(), comparebtn.textContentwith the wanted label each time rather than only on ashownchange. Page-local workaround:useHoldHeaderAsk()incomponents/pages/Bounty.jsxre-asserts the words, link anddata-cta="header-ask"while the hero's ask is above the header (desktop only).