aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-06-06 16:05:04 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-06-06 16:05:04 -0700
commitb0afb5deea4de4cc5951d4e6fe17d2040546b8b0 (patch)
tree2007f81953d354463f253079dc9ccd030a864670 /modern/src
parent66cdc1e5bff5331bd4d23038fa032efb39817a1f (diff)
downloadetbsa-traccar-web-b0afb5deea4de4cc5951d4e6fe17d2040546b8b0.tar.gz
etbsa-traccar-web-b0afb5deea4de4cc5951d4e6fe17d2040546b8b0.tar.bz2
etbsa-traccar-web-b0afb5deea4de4cc5951d4e6fe17d2040546b8b0.zip
Add missing props
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/RemoveDialog.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/RemoveDialog.js b/modern/src/RemoveDialog.js
index 7c42e2c..14952e6 100644
--- a/modern/src/RemoveDialog.js
+++ b/modern/src/RemoveDialog.js
@@ -6,11 +6,11 @@ import DialogActions from '@material-ui/core/DialogActions';
import DialogContent from '@material-ui/core/DialogContent';
import DialogContentText from '@material-ui/core/DialogContentText';
-const RemoveDialog = () => {
+const RemoveDialog = (props) => {
return (
<Dialog
- open={this.props.open}
- onClose={() => { this.props.onClose() }}>
+ open={props.open}
+ onClose={() => { props.onClose() }}>
<DialogContent>
<DialogContentText>{t('sharedRemoveConfirm')}</DialogContentText>
</DialogContent>