From 5f8ea2c6ec13ad976c4e80364553b0dbdb42010a Mon Sep 17 00:00:00 2001 From: leppaludi <105874219+leppaludi@users.noreply.github.com> Date: Sun, 25 Feb 2024 22:34:48 +0000 Subject: [PATCH] reset selectedImports onManualImportClick --- .../Bridge/NFTBridgeComponents/ImportStep/ScannedImport.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/bridge-ui/src/components/Bridge/NFTBridgeComponents/ImportStep/ScannedImport.svelte b/packages/bridge-ui/src/components/Bridge/NFTBridgeComponents/ImportStep/ScannedImport.svelte index 31a624e2de4..41b22fefd21 100644 --- a/packages/bridge-ui/src/components/Bridge/NFTBridgeComponents/ImportStep/ScannedImport.svelte +++ b/packages/bridge-ui/src/components/Bridge/NFTBridgeComponents/ImportStep/ScannedImport.svelte @@ -40,6 +40,7 @@ }; function onManualImportClick() { + $selectedNFTs = []; $selectedImportMethod = ImportMethod.MANUAL; } $: isERC1155 = $selectedNFTs ? $selectedNFTs.some((nft) => nft.type === 'ERC1155') : false;