Skip to content

Commit c09768a

Browse files
authored
fix: place order btn not being disabled when geo blocked (#2056)
1 parent faf6676 commit c09768a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hooks/TradingForm/useTradeForm.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export const useTradeForm = ({
104104
const tradingUnavailable =
105105
closeOnlyTradingUnavailable ||
106106
complianceState === ComplianceStates.READ_ONLY ||
107+
complianceState === ComplianceStates.SPOT_ONLY ||
107108
connectionError === ConnectionErrorType.CHAIN_DISRUPTION;
108109

109110
const shouldEnableTrade =

0 commit comments

Comments
 (0)