close dialog on delete

This commit is contained in:
Paul Miller
2023-09-19 12:42:37 -05:00
parent 14fabf25a9
commit f2f6d42d3f

View File

@@ -103,6 +103,7 @@ function NwcDetails(props: {
async function deleteProfile() {
try {
await state.mutiny_wallet?.delete_nwc_profile(props.profile.index);
setConfirmOpen(false);
props.refetch();
} catch (e) {
console.error(e);