diff options
Diffstat (limited to 'src/components/settings/SettingsLayout.tsx')
-rw-r--r-- | src/components/settings/SettingsLayout.tsx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/components/settings/SettingsLayout.tsx b/src/components/settings/SettingsLayout.tsx index f96ad7394..17f8c3e33 100644 --- a/src/components/settings/SettingsLayout.tsx +++ b/src/components/settings/SettingsLayout.tsx | |||
@@ -1,12 +1,16 @@ | |||
1 | import { Component, PropsWithChildren, ReactElement } from 'react'; | ||
2 | import { observer } from 'mobx-react'; | ||
3 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | ||
4 | import { mdiClose } from '@mdi/js'; | 1 | import { mdiClose } from '@mdi/js'; |
2 | import { observer } from 'mobx-react'; | ||
3 | import { Component, type PropsWithChildren, type ReactElement } from 'react'; | ||
4 | import { | ||
5 | type WrappedComponentProps, | ||
6 | defineMessages, | ||
7 | injectIntl, | ||
8 | } from 'react-intl'; | ||
5 | import { Outlet } from 'react-router-dom'; | 9 | import { Outlet } from 'react-router-dom'; |
6 | import ErrorBoundary from '../util/ErrorBoundary'; | 10 | import { isEscKeyPress } from '../../jsUtils'; |
7 | import Appear from '../ui/effects/Appear'; | 11 | import Appear from '../ui/effects/Appear'; |
8 | import Icon from '../ui/icon'; | 12 | import Icon from '../ui/icon'; |
9 | import { isEscKeyPress } from '../../jsUtils'; | 13 | import ErrorBoundary from '../util/ErrorBoundary'; |
10 | 14 | ||
11 | const messages = defineMessages({ | 15 | const messages = defineMessages({ |
12 | closeSettings: { | 16 | closeSettings: { |