aboutsummaryrefslogtreecommitdiff
path: root/modern/src/RemoveDialog.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-11-03 13:58:37 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-11-03 13:58:37 -0800
commitd53632348f684f35719b035ff39744a41c088f3e (patch)
treed693d971a58e96dd0aed072d5fbec45151c2c780 /modern/src/RemoveDialog.js
parent3c9f0117b2b3cdffc98f4ea19e5dbc7ed40e9b4f (diff)
downloadtrackermap-web-d53632348f684f35719b035ff39744a41c088f3e.tar.gz
trackermap-web-d53632348f684f35719b035ff39744a41c088f3e.tar.bz2
trackermap-web-d53632348f684f35719b035ff39744a41c088f3e.zip
Show replay path
Diffstat (limited to 'modern/src/RemoveDialog.js')
-rw-r--r--modern/src/RemoveDialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/RemoveDialog.js b/modern/src/RemoveDialog.js
index 8e7d97f4..bbcfb226 100644
--- a/modern/src/RemoveDialog.js
+++ b/modern/src/RemoveDialog.js
@@ -8,7 +8,7 @@ import DialogContentText from '@material-ui/core/DialogContentText';
const RemoveDialog = ({ open, endpoint, itemId, onResult }) => {
const handleRemove = async () => {
- const response = await fetch(`/api/${endpoint}/${itemId}`, { method: 'DELETE' })
+ const response = await fetch(`/api/${endpoint}/${itemId}`, { method: 'DELETE' });
if (response.ok) {
onResult(true);
}