diff options
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 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> |