diff --git a/packages/bridge-ui/src/components/Bridge/NFTBridgeComponents/StepNavigation/StepNavigation.svelte b/packages/bridge-ui/src/components/Bridge/NFTBridgeComponents/StepNavigation/StepNavigation.svelte index 64548e0b771..04819ffef66 100644 --- a/packages/bridge-ui/src/components/Bridge/NFTBridgeComponents/StepNavigation/StepNavigation.svelte +++ b/packages/bridge-ui/src/components/Bridge/NFTBridgeComponents/StepNavigation/StepNavigation.svelte @@ -39,7 +39,10 @@ }; const handlePreviousStep = () => { - if (activeStep === BridgeSteps.REVIEW) { + if (activeStep === BridgeSteps.IMPORT) { + $selectedNFTs = []; + $selectedImportMethod = ImportMethod.NONE; + } else if (activeStep === BridgeSteps.REVIEW) { activeStep = BridgeSteps.IMPORT; } else if (activeStep === BridgeSteps.CONFIRM) { activeStep = BridgeSteps.REVIEW; @@ -65,7 +68,9 @@ {nextStepButtonText} - ($selectedImportMethod = ImportMethod.NONE)}>{$t('common.back')} + handlePreviousStep()}> + {$t('common.back')} + {/if} {/if} {#if activeStep === BridgeSteps.REVIEW}