From 85b866e1cba75576ee2669797bcfdb1597a4b022 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Mon, 4 Apr 2022 13:07:03 +0530 Subject: [PATCH] UI: Remove unneeded argument in MapPage.js --- monkey/monkey_island/cc/ui/src/components/pages/MapPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js b/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js index ebe5b8cc6..d24756978 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js @@ -92,7 +92,7 @@ class MapPageComponent extends AuthComponent { body: JSON.stringify({kill_time: Date.now() / 1000.0}) }) .then(res => res.json()) - .then(_res => {this.setState({killPressed: true})}); + .then(() => {this.setState({killPressed: true})}); }; renderKillDialogModal = () => {