diff --git a/web/components/bet-panel.tsx b/web/components/bet-panel.tsx index 6721e232..98bcf1af 100644 --- a/web/components/bet-panel.tsx +++ b/web/components/bet-panel.tsx @@ -404,6 +404,7 @@ export function BuyPanel(props: { {user && ( void disabled?: boolean @@ -23,6 +24,7 @@ export function WarningConfirmationButton(props: { isSubmitting, openModalButtonClass, submitButtonClassName, + outcome, } = props if (!warning) { @@ -31,7 +33,7 @@ export function WarningConfirmationButton(props: { className={clsx( openModalButtonClass, isSubmitting ? 'loading' : '', - disabled && 'btn-disabled' + (disabled || !outcome) && 'btn-disabled bg-greyscale-2' )} onClick={onSubmit} >