greyscale bet button if outcome is undefined
This commit is contained in:
parent
723d9dbece
commit
5e34b5a911
|
@ -401,7 +401,7 @@ export function BuyPanel(props: {
|
|||
isSubmitting={isSubmitting}
|
||||
openModalButtonClass={clsx(
|
||||
'btn mb-2 flex-1',
|
||||
betDisabled
|
||||
betDisabled || outcome === undefined
|
||||
? 'btn-disabled bg-greyscale-2'
|
||||
: outcome === 'NO'
|
||||
? 'border-none bg-red-400 hover:bg-red-500'
|
||||
|
|
Loading…
Reference in New Issue
Block a user