diff --git a/packages/gui/src/components/plotNFT/PlotNFTPayoutInstructionsDialog.tsx b/packages/gui/src/components/plotNFT/PlotNFTPayoutInstructionsDialog.tsx index da87320494..c188d0e472 100644 --- a/packages/gui/src/components/plotNFT/PlotNFTPayoutInstructionsDialog.tsx +++ b/packages/gui/src/components/plotNFT/PlotNFTPayoutInstructionsDialog.tsx @@ -45,9 +45,10 @@ export default function PlotNFTPayoutInstructionsDialog(props: Props) { setError(undefined); setLoading(true); await setPayoutAddress(values.payoutAddress); + setLoading(false); + onClose(); } catch (e) { setError(e); - } finally { setLoading(false); } }