From d4854ab0aa3a1e02b56969979e90aeeb275677ba Mon Sep 17 00:00:00 2001 From: Wukong Sun Date: Fri, 29 Nov 2024 17:18:10 +0800 Subject: [PATCH] fix: we can share on twitter now (#11962) --- .../RedPacket/src/SiteAdaptor/RedPacket/OperationFooter.tsx | 4 +--- .../plugins/RedPacket/src/SiteAdaptor/RedPacket/index.tsx | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/plugins/RedPacket/src/SiteAdaptor/RedPacket/OperationFooter.tsx b/packages/plugins/RedPacket/src/SiteAdaptor/RedPacket/OperationFooter.tsx index cfcf2f718980..f1a44e68a450 100644 --- a/packages/plugins/RedPacket/src/SiteAdaptor/RedPacket/OperationFooter.tsx +++ b/packages/plugins/RedPacket/src/SiteAdaptor/RedPacket/OperationFooter.tsx @@ -30,7 +30,6 @@ interface OperationFooterProps { chainId?: ChainId canClaim: boolean canRefund: boolean - canShare?: boolean /** Is claiming or checking claim status */ isClaiming: boolean isRefunding: boolean @@ -41,7 +40,6 @@ export function OperationFooter({ chainId, canClaim, canRefund, - canShare = true, isClaiming, isRefunding, onShare, @@ -99,7 +97,7 @@ export function OperationFooter({ return ( - {canRefund || !canShare ? null : ( + {canRefund ? null : (