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 = () => {