You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we have different implementations to solve the same task - the detection of a state of a trade widget.
What is the state of the trade widget:
Currently, we have different implementations to solve the same task - the detection of a state of a trade widget.
What is the state of the trade widget:
Current implementations:
useLimitOrdersFormState
+getLimitOrdersFormState
useSwapButtonContext
+getSwapButtonState
We need to unify them, and extract common states to a new common service (it can be hook/jotai atom/function/updater etc.).
Requirements:
useTradeState()
hook (see feat(twap-orders): refactor trade states and hooks #2411)The text was updated successfully, but these errors were encountered: