From 2cd081846b2dc3fe3a904fc2be9ac81075557543 Mon Sep 17 00:00:00 2001 From: Glenn Fischer <gfischer@ub.uni-leipzig.de> Date: Wed, 20 Mar 2019 15:28:07 +0100 Subject: [PATCH] #1874 removes ids from ErrorDialog --- src/components/ErrorDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ErrorDialog.js b/src/components/ErrorDialog.js index d302ac9af..d2d6eff25 100644 --- a/src/components/ErrorDialog.js +++ b/src/components/ErrorDialog.js @@ -31,8 +31,8 @@ export class ErrorDialog extends Component { return ( <div> { hasError && ( - <Dialog id="workspace-settings" onClose={() => removeError(error.id)} open={hasError}> - <DialogTitle id="form-dialog-title">{t('errorDialogTitle')}</DialogTitle> + <Dialog onClose={() => removeError(error.id)} open={hasError}> + <DialogTitle>{t('errorDialogTitle')}</DialogTitle> <DialogContent> <Typography variant="body2" noWrap color="inherit"> {error.message} -- GitLab