diff options
Diffstat (limited to 'src/components/settings')
-rw-r--r-- | src/components/settings/SettingsLayout.tsx | 4 | ||||
-rw-r--r-- | src/components/settings/releaseNotes/ReleaseNotesLayout.tsx | 1 |
2 files changed, 3 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 | ||
diff --git a/src/components/settings/releaseNotes/ReleaseNotesLayout.tsx b/src/components/settings/releaseNotes/ReleaseNotesLayout.tsx index 64ff25eab..bc38aa603 100644 --- a/src/components/settings/releaseNotes/ReleaseNotesLayout.tsx +++ b/src/components/settings/releaseNotes/ReleaseNotesLayout.tsx | |||
@@ -19,6 +19,7 @@ const messages = defineMessages({ | |||
19 | 19 | ||
20 | interface IProps extends WrappedComponentProps { | 20 | interface IProps extends WrappedComponentProps { |
21 | actions?: Actions; | 21 | actions?: Actions; |
22 | children?: React.ReactNode; | ||
22 | } | 23 | } |
23 | 24 | ||
24 | @inject('stores', 'actions') | 25 | @inject('stores', 'actions') |