mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-02-23 07:04:19 +01:00
close dialog on delete
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user