From a49cadd14f621f4e9f08caa350223f0564f0e4ab Mon Sep 17 00:00:00 2001 From: yuyongdong Date: Wed, 17 Apr 2024 13:58:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=BA=E5=B0=91=E6=B4=BB=E5=8A=A8=E6=9C=AA?= =?UTF-8?q?=E5=BC=80=E5=A7=8B=E7=9A=84=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/errorDialog/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/errorDialog/index.js b/src/components/errorDialog/index.js index 3b8ee6d..f40ae3e 100644 --- a/src/components/errorDialog/index.js +++ b/src/components/errorDialog/index.js @@ -22,8 +22,8 @@ let errmsg = err errmsg = `Operation timed out. Please retry.` } else if(errmsg.indexOf('chest already opened') > -1) { errmsg = 'chest already opened' - // } else if(errmsg.indexOf('chest already opened') > -1) { - // errmsg = 'Transaction failed please try again' + } else if(errmsg.indexOf('execution reverted: TreasureHunt: paused') > -1) { + errmsg = 'The event has not started' } const _confirm = new iErrorMessage({