diff options
Diffstat (limited to 'modern/src')
-rw-r--r-- | modern/src/EventPage.js | 2 | ||||
-rw-r--r-- | modern/src/common/duration.js | 4 | ||||
-rw-r--r-- | modern/src/common/useQuery.js | 2 | ||||
-rw-r--r-- | modern/src/components/registration/LoginForm.js | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/modern/src/EventPage.js b/modern/src/EventPage.js index 48c6d807..ded91ce4 100644 --- a/modern/src/EventPage.js +++ b/modern/src/EventPage.js @@ -5,9 +5,9 @@ import { } from '@material-ui/core'; import ArrowBackIcon from '@material-ui/icons/ArrowBack'; import { useHistory, useParams } from 'react-router-dom'; +import ContainerDimensions from 'react-container-dimensions'; import { useEffectAsync } from './reactHelper'; import { useTranslation } from './LocalizationProvider'; -import ContainerDimensions from 'react-container-dimensions'; import Map from './map/Map'; import PositionsMap from './map/PositionsMap'; diff --git a/modern/src/common/duration.js b/modern/src/common/duration.js index 72643c5b..aae74868 100644 --- a/modern/src/common/duration.js +++ b/modern/src/common/duration.js @@ -1,2 +1,2 @@ -export const snackBarDurationShortMs = 1500 -export const snackBarDurationLongMs = 2750 +export const snackBarDurationShortMs = 1500; +export const snackBarDurationLongMs = 2750; diff --git a/modern/src/common/useQuery.js b/modern/src/common/useQuery.js index ed3f74c1..f246df7c 100644 --- a/modern/src/common/useQuery.js +++ b/modern/src/common/useQuery.js @@ -4,4 +4,4 @@ import { useLocation } from 'react-router-dom'; export default () => { const { search } = useLocation(); return useMemo(() => new URLSearchParams(search), [search]); -} +}; diff --git a/modern/src/components/registration/LoginForm.js b/modern/src/components/registration/LoginForm.js index d43d19a8..58c50df8 100644 --- a/modern/src/components/registration/LoginForm.js +++ b/modern/src/components/registration/LoginForm.js @@ -145,11 +145,11 @@ const LoginForm = () => { anchorOrigin={{ vertical: 'top', horizontal: 'center' }} open={announcement && !announcementShown} message={announcement} - action={ + action={( <IconButton size="small" color="inherit" onClick={() => setAnnouncementShown(true)}> <CloseIcon fontSize="small" /> </IconButton> - } + )} /> </Grid> </StartPage> |