Skip to content

Commit

Permalink
improve disable logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Tburm committed Dec 20, 2022
1 parent f106a56 commit 8107663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sections/futures/Trade/ManagePosition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const ManagePosition: React.FC = () => {
data-testid="trade-open-position-button"
noOutline
fullWidth
disabled={!!placeOrderDisabledReason || !!orderError}
disabled={!!placeOrderDisabledReason}
onClick={() => dispatch(setOpenModal('futures_modify_position_confirm'))}
>
{t(placeOrderTranslationKey)}
Expand Down

0 comments on commit 8107663

Please sign in to comment.