diff --git a/web/components/bets-list.tsx b/web/components/bets-list.tsx
index c2773741..247bb63b 100644
--- a/web/components/bets-list.tsx
+++ b/web/components/bets-list.tsx
@@ -612,7 +612,7 @@ function SellButton(props: {
label: 'Sell',
disabled: isSubmitting,
}}
- submitBtn={{ className: 'btn-primary', label: 'Sell' }}
+ submitBtn={{ label: 'Sell', color: 'green' }}
onSubmit={async () => {
setIsSubmitting(true)
await sellBet({ contractId: contract.id, betId: bet.id })
diff --git a/web/components/confirmation-button.tsx b/web/components/confirmation-button.tsx
index e0f7efd8..ded155f8 100644
--- a/web/components/confirmation-button.tsx
+++ b/web/components/confirmation-button.tsx
@@ -16,11 +16,11 @@ export function ConfirmationButton(props: {
}
cancelBtn?: {
label?: string
- className?: string
+ color?: ColorType
}
submitBtn?: {
label?: string
- className?: string
+ color?: ColorType
isSubmitting?: boolean
}
children: ReactNode
@@ -53,14 +53,14 @@ export function ConfirmationButton(props: {
{children}
- updateOpen(false)}
>
{cancelBtn?.label ?? 'Cancel'}
-
+