add missing finally block
This commit is contained in:
1 parent
deeb6a030c
commit
a63bcb5b4a
1 file changed
+2
@@ -43,6 +43,8 @@ const ActionsMenu = ({
|
|||||||
pauseCallback();
|
pauseCallback();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
createToast({ body: "Failed to pause monitor." });
|
createToast({ body: "Failed to pause monitor." });
|
||||||
|
} finally {
|
||||||
|
setIsLoading(false);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user