From 7673b32a0ce31c792d39a51fa053f7d4b0b7eca4 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Wed, 27 Jul 2022 09:40:48 -0700 Subject: [PATCH] Remove add funds buttons --- web/components/amount-input.tsx | 11 +---------- web/pages/create.tsx | 6 ------ web/pages/profile.tsx | 1 - 3 files changed, 1 insertion(+), 17 deletions(-) diff --git a/web/components/amount-input.tsx b/web/components/amount-input.tsx index 426a9371..367fffbb 100644 --- a/web/components/amount-input.tsx +++ b/web/components/amount-input.tsx @@ -61,16 +61,7 @@ export function AmountInput(props: { {error && (
- {error === 'Insufficient balance' ? ( - <> - Not enough funds. - - Buy more? - - - ) : ( - error - )} + {error === 'Insufficient balance' ? <>Not enough funds. : error}
)} diff --git a/web/pages/create.tsx b/web/pages/create.tsx index fb87ff4d..73d16536 100644 --- a/web/pages/create.tsx +++ b/web/pages/create.tsx @@ -441,12 +441,6 @@ export function NewContract(props: { {ante > balance && (
Insufficient balance -
)} diff --git a/web/pages/profile.tsx b/web/pages/profile.tsx index 541f5de9..601d80c5 100644 --- a/web/pages/profile.tsx +++ b/web/pages/profile.tsx @@ -240,7 +240,6 @@ export default function ProfilePage() { {formatMoney(user?.balance || 0)} -