diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-03 13:58:37 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-03 13:58:37 -0800 |
commit | d53632348f684f35719b035ff39744a41c088f3e (patch) | |
tree | d693d971a58e96dd0aed072d5fbec45151c2c780 /modern/src/RemoveDialog.js | |
parent | 3c9f0117b2b3cdffc98f4ea19e5dbc7ed40e9b4f (diff) | |
download | trackermap-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.js | 2 |
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); } |