Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
ingawei committed Sep 17, 2024
1 parent f0edff4 commit 39b5636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/components/bet/limit-order-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ export default function LimitOrderPanel(props: {
disabled={betDisabled || inputError}
color={
(pseudonymColor as any) ??
(isBinaryMC ? 'none' : outcome === 'YES' ? 'green' : 'red')
(hideYesNo ? 'none' : outcome === 'YES' ? 'green' : 'red')
}
loading={isSubmitting}
className={clsx('flex-1 text-white')}
Expand Down

0 comments on commit 39b5636

Please sign in to comment.