From 05129c9d6ba715c8803232d96f2db996de213548 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Fri, 1 Jul 2022 08:55:57 -0400 Subject: [PATCH] UI: Add missing semicolons --- .../cc/ui/src/components/ui-components/IslandResetModal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/ui-components/IslandResetModal.tsx b/monkey/monkey_island/cc/ui/src/components/ui-components/IslandResetModal.tsx index e4b3f045c..b142e97c4 100644 --- a/monkey/monkey_island/cc/ui/src/components/ui-components/IslandResetModal.tsx +++ b/monkey/monkey_island/cc/ui/src/components/ui-components/IslandResetModal.tsx @@ -93,7 +93,7 @@ const IslandResetModal = (props: Props) => { auth.authFetch('/api/clear-simulation-data', {method: 'POST'}) .then(res => { if (res.status === 200) { - callback() + callback(); } }) } @@ -107,7 +107,7 @@ const IslandResetModal = (props: Props) => { auth.authFetch('/api/island-mode', {method: 'POST', body: '{"mode": "unset"}'}) .then(res => { if (res.status === 200) { - callback() + callback(); } }) }