From b1a19fd3f7e47a7002f90d463229ff2efe104c07 Mon Sep 17 00:00:00 2001 From: Zafei-Erin <897659752@qq.com> Date: Tue, 5 Mar 2024 18:00:40 +0800 Subject: [PATCH] chore: update error message --- frontend/src/pages/Item/BuyModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/Item/BuyModal.tsx b/frontend/src/pages/Item/BuyModal.tsx index 87fde4a..b465564 100644 --- a/frontend/src/pages/Item/BuyModal.tsx +++ b/frontend/src/pages/Item/BuyModal.tsx @@ -126,7 +126,8 @@ export const BuyModal: React.FC = ({ } else { //@ts-expect-error e may not have message inside if (e.data.message.includes("insufficient funds")) { - msg = "You don't have sufficient funds for this transaction."; + msg = + "You don't have sufficient funds for this transaction. Follow the instruction in header to get some free tokens!"; } }