diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-06-06 16:05:04 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-06-06 16:05:04 -0700 |
commit | b0afb5deea4de4cc5951d4e6fe17d2040546b8b0 (patch) | |
tree | 2007f81953d354463f253079dc9ccd030a864670 /modern | |
parent | 66cdc1e5bff5331bd4d23038fa032efb39817a1f (diff) | |
download | trackermap-web-b0afb5deea4de4cc5951d4e6fe17d2040546b8b0.tar.gz trackermap-web-b0afb5deea4de4cc5951d4e6fe17d2040546b8b0.tar.bz2 trackermap-web-b0afb5deea4de4cc5951d4e6fe17d2040546b8b0.zip |
Add missing props
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/RemoveDialog.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/RemoveDialog.js b/modern/src/RemoveDialog.js index 7c42e2c6..14952e64 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> |