diff options
Diffstat (limited to 'src/components/settings/SettingsLayout.tsx')
-rw-r--r-- | src/components/settings/SettingsLayout.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/settings/SettingsLayout.tsx b/src/components/settings/SettingsLayout.tsx index 3b706571e..f96ad7394 100644 --- a/src/components/settings/SettingsLayout.tsx +++ b/src/components/settings/SettingsLayout.tsx | |||
@@ -1,4 +1,4 @@ | |||
1 | import { Component, ReactElement } from 'react'; | 1 | import { Component, PropsWithChildren, ReactElement } from 'react'; |
2 | import { observer } from 'mobx-react'; | 2 | import { observer } from 'mobx-react'; |
3 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | 3 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; |
4 | import { mdiClose } from '@mdi/js'; | 4 | import { mdiClose } from '@mdi/js'; |
@@ -21,7 +21,7 @@ interface IProps extends WrappedComponentProps { | |||
21 | } | 21 | } |
22 | 22 | ||
23 | @observer | 23 | @observer |
24 | class SettingsLayout extends Component<IProps> { | 24 | class SettingsLayout extends Component<PropsWithChildren<IProps>> { |
25 | constructor(props: IProps) { | 25 | constructor(props: IProps) { |
26 | super(props); | 26 | super(props); |
27 | 27 | ||