From ff36ddfbe26c91bfeb79c43e22e11045930aa0ae Mon Sep 17 00:00:00 2001 From: richardo2016x Date: Mon, 22 Dec 2025 15:27:54 +0800 Subject: [PATCH] fix: robust change --- src/ui/views/DesktopProfile/components/NFTTabPane/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ui/views/DesktopProfile/components/NFTTabPane/index.tsx b/src/ui/views/DesktopProfile/components/NFTTabPane/index.tsx index 218a731b6ae..9c1f59bdb0a 100644 --- a/src/ui/views/DesktopProfile/components/NFTTabPane/index.tsx +++ b/src/ui/views/DesktopProfile/components/NFTTabPane/index.tsx @@ -242,7 +242,10 @@ export const NFTTabPane: React.FC<{ selectChainId?: string }> = ({ collection={state.current?.collection} onSend={() => { const query = new URLSearchParams(); - query.set('nftItem', JSON.stringify(state.current!.nft!)); + query.set( + 'nftItem', + encodeURIComponent(JSON.stringify(state.current!.nft)) + ); query.set('action', 'send'); query.set('sendPageType', 'sendNft'); history.replace(`${history.location.pathname}?${query.toString()}`);