UI: Remove unneeded argument in MapPage.js

This commit is contained in:
Shreya Malviya 2022-04-04 13:07:03 +05:30
parent a43c1479c8
commit 85b866e1cb
1 changed files with 1 additions and 1 deletions

View File

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