Skip to content

Commit

Permalink
Fixed an issue where dialog not closed after setting new payout instr…
Browse files Browse the repository at this point in the history
…uction (#2434)
  • Loading branch information
ChiaMineJP authored Aug 5, 2024
1 parent 7fd1a48 commit 4a21ee1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 4a21ee1

Please sign in to comment.