From e4a769f69c3f9fb2ba824321ebdbf735a34bfdaf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Jul 2021 09:10:31 +1000 Subject: [PATCH] build(deps): update dependency @material-ui/core to v4.12.0 (#2157) * build(deps): update dependency @material-ui/core to v4.12.0 * fix(web): adjust deprecations Co-authored-by: Renovate Bot Co-authored-by: Amir Zarrinkafsh --- web/package.json | 2 +- web/src/components/NotificationBar.tsx | 4 +++- web/src/themes/Dark.ts | 4 ++-- web/src/themes/Grey.ts | 4 ++-- web/src/themes/Light.ts | 4 ++-- web/src/themes/index.ts | 2 +- web/yarn.lock | 18 +++++++++--------- 7 files changed, 20 insertions(+), 18 deletions(-) diff --git a/web/package.json b/web/package.json index b4c84f61b..fe21c67c2 100644 --- a/web/package.json +++ b/web/package.json @@ -7,7 +7,7 @@ "@fortawesome/free-regular-svg-icons": "5.15.3", "@fortawesome/free-solid-svg-icons": "5.15.3", "@fortawesome/react-fontawesome": "0.1.14", - "@material-ui/core": "4.11.4", + "@material-ui/core": "4.12.0", "@material-ui/icons": "4.11.2", "@types/classnames": "2.3.0", "@types/node": "15.6.0", diff --git a/web/src/components/NotificationBar.tsx b/web/src/components/NotificationBar.tsx index eec12db25..da7da4f66 100644 --- a/web/src/components/NotificationBar.tsx +++ b/web/src/components/NotificationBar.tsx @@ -28,7 +28,9 @@ const NotificationBar = function (props: Props) { anchorOrigin={{ vertical: "top", horizontal: "right" }} autoHideDuration={tmpNotification ? tmpNotification.timeout * 1000 : 10000} onClose={props.onClose} - onExited={() => setTmpNotification(null)} + TransitionProps={{ + onExited: () => setTmpNotification(null), + }} >