Skip to content

Commit 65a6a6c

Browse files
fix: robust change (#3386)
1 parent bced2bd commit 65a6a6c

File tree

1 file changed

+4
-1
lines changed
  • src/ui/views/DesktopProfile/components/NFTTabPane

1 file changed

+4
-1
lines changed

src/ui/views/DesktopProfile/components/NFTTabPane/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,10 @@ export const NFTTabPane: React.FC<{ selectChainId?: string }> = ({
242242
collection={state.current?.collection}
243243
onSend={() => {
244244
const query = new URLSearchParams();
245-
query.set('nftItem', JSON.stringify(state.current!.nft!));
245+
query.set(
246+
'nftItem',
247+
encodeURIComponent(JSON.stringify(state.current!.nft))
248+
);
246249
query.set('action', 'send');
247250
query.set('sendPageType', 'sendNft');
248251
history.replace(`${history.location.pathname}?${query.toString()}`);

0 commit comments

Comments
 (0)