From a63bcb5b4acf0f943389dc4069fd62eb396eb05f Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Fri, 13 Jun 2025 10:05:29 +0800 Subject: [PATCH] add missing finally block --- client/src/Components/ActionsMenu/index.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/Components/ActionsMenu/index.jsx b/client/src/Components/ActionsMenu/index.jsx index cdd7ecf7d..1b590a471 100644 --- a/client/src/Components/ActionsMenu/index.jsx +++ b/client/src/Components/ActionsMenu/index.jsx @@ -43,6 +43,8 @@ const ActionsMenu = ({ pauseCallback(); } catch (error) { createToast({ body: "Failed to pause monitor." }); + } finally { + setIsLoading(false); } };