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(); } }) }