From 35de4c485a6709c506592ac5a34d0d6b808f5845 Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Wed, 7 Sep 2022 21:39:14 -0600 Subject: [PATCH] Just submit, allow xs on pills --- web/components/answers/answer-bet-panel.tsx | 2 +- web/components/buttons/pill-button.tsx | 10 +++++----- web/components/challenges/accept-challenge-button.tsx | 3 ++- web/components/numeric-bet-panel.tsx | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/web/components/answers/answer-bet-panel.tsx b/web/components/answers/answer-bet-panel.tsx index dbf7ff11..6e54b3b8 100644 --- a/web/components/answers/answer-bet-panel.tsx +++ b/web/components/answers/answer-bet-panel.tsx @@ -206,7 +206,7 @@ export function AnswerBetPanel(props: { )} onClick={betDisabled ? undefined : submitBet} > - {isSubmitting ? 'Submitting...' : 'Submit trade'} + {isSubmitting ? 'Submitting...' : 'Submit'} ) : ( diff --git a/web/components/buttons/pill-button.tsx b/web/components/buttons/pill-button.tsx index 8e47c94e..949aa428 100644 --- a/web/components/buttons/pill-button.tsx +++ b/web/components/buttons/pill-button.tsx @@ -5,19 +5,19 @@ export function PillButton(props: { selected: boolean onSelect: () => void color?: string - big?: boolean + xs?: boolean children: ReactNode }) { - const { children, selected, onSelect, color, big } = props + const { children, selected, onSelect, color, xs } = props return ( )}