diff options
author | 2023-07-24 14:37:16 +0200 | |
---|---|---|
committer | 2023-07-24 14:37:16 +0200 | |
commit | 8789304690384d19ad829286560aec5ed0917976 (patch) | |
tree | b157e78e8b6a3f2fb3d0eee6e1aa10d2c16e0204 /subprojects/frontend/src/UpdateNotification.tsx | |
parent | decreasing steps in fast fuzz tests (diff) | |
parent | Merge pull request #27 from kris7t/ordered-result-set (diff) | |
download | refinery-8789304690384d19ad829286560aec5ed0917976.tar.gz refinery-8789304690384d19ad829286560aec5ed0917976.tar.zst refinery-8789304690384d19ad829286560aec5ed0917976.zip |
Merge branch 'graphs4value:main' into datastructure
Diffstat (limited to 'subprojects/frontend/src/UpdateNotification.tsx')
-rw-r--r-- | subprojects/frontend/src/UpdateNotification.tsx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/subprojects/frontend/src/UpdateNotification.tsx b/subprojects/frontend/src/UpdateNotification.tsx index 07f7f5f7..d86c0703 100644 --- a/subprojects/frontend/src/UpdateNotification.tsx +++ b/subprojects/frontend/src/UpdateNotification.tsx | |||
@@ -1,3 +1,9 @@ | |||
1 | /* | ||
2 | * SPDX-FileCopyrightText: 2021-2023 The Refinery Authors <https://refinery.tools/> | ||
3 | * | ||
4 | * SPDX-License-Identifier: EPL-2.0 | ||
5 | */ | ||
6 | |||
1 | import Button from '@mui/material/Button'; | 7 | import Button from '@mui/material/Button'; |
2 | import { observer } from 'mobx-react-lite'; | 8 | import { observer } from 'mobx-react-lite'; |
3 | import { useEffect } from 'react'; | 9 | import { useEffect } from 'react'; |
@@ -32,14 +38,14 @@ export default observer(function UpdateNotification(): null { | |||
32 | return enqueueLater('Failed to download update', { | 38 | return enqueueLater('Failed to download update', { |
33 | variant: 'error', | 39 | variant: 'error', |
34 | action: ( | 40 | action: ( |
35 | <> | 41 | <ContrastThemeProvider> |
36 | <Button color="inherit" onClick={() => pwaStore.checkForUpdates()}> | 42 | <Button color="inherit" onClick={() => pwaStore.checkForUpdates()}> |
37 | Try again | 43 | Try again |
38 | </Button> | 44 | </Button> |
39 | <Button color="inherit" onClick={() => pwaStore.dismissError()}> | 45 | <Button color="inherit" onClick={() => pwaStore.dismissError()}> |
40 | Dismiss | 46 | Dismiss |
41 | </Button> | 47 | </Button> |
42 | </> | 48 | </ContrastThemeProvider> |
43 | ), | 49 | ), |
44 | }); | 50 | }); |
45 | } | 51 | } |