Closed moo-onthelawn closed 3 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
v4-staging | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 19, 2024 9:57pm |
v4-testnet | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 19, 2024 9:57pm |
Fix chart toggles sometimes not updating properly. s/o to Tina for narrowing it down to the initialization of the buttons being too far away (time wise) from the effects used to update them.
https://github.com/user-attachments/assets/ed607444-3b21-49b9-a021-1af5cfbf0890
Fix:
useTradingView
Follow up to investigate doing this by hiding series, but deprioritizing for now given that this works*
Testing
Constants/Types
constants/charts
TOGGLE_ACTIVE_CLASS_NAME
since it's used a bunchHooks
hooks/useBuySellMarks
,hooks/useChartLines
,hooks/useOrderbookCandles
useTradingView
hooks/useTradingView
Move in logic for initializing onClick for toggles, and conditionally add active class name based on passed through state