From 85e3613e492277f3cfdf92a6876c819a32ef340b Mon Sep 17 00:00:00 2001 From: Hanssen0 Date: Tue, 8 Oct 2024 13:28:31 +0800 Subject: [PATCH] feat(demo): use same words as NervDAO --- packages/demo/src/app/connected/(tools)/NervosDao/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/demo/src/app/connected/(tools)/NervosDao/page.tsx b/packages/demo/src/app/connected/(tools)/NervosDao/page.tsx index 5ead73dd..7b2e9b47 100644 --- a/packages/demo/src/app/connected/(tools)/NervosDao/page.tsx +++ b/packages/demo/src/app/connected/(tools)/NervosDao/page.tsx @@ -186,7 +186,7 @@ function DaoButton({ dao }: { dao: ccc.Cell }) { } const [withdrawTx, withdrawHeader] = infos[3]; if (!withdrawTx?.blockHash) { - error("Unexpected empty withdraw tx block info"); + error("Unexpected empty redeem tx block info"); return; } if (!depositTx.blockHash) { @@ -267,7 +267,7 @@ function DaoButton({ dao }: { dao: ccc.Cell }) { epoch ) : undefined} - {isNew ? "Withdraw" : "Claim"} + {isNew ? "Redeem" : "Withdraw"} );