diff options
author | 2023-05-27 01:32:44 +0530 | |
---|---|---|
committer | 2023-05-27 18:10:24 +0530 | |
commit | b8950dde09cb41eac5dba40ae034abf7a5e6bdb2 (patch) | |
tree | 978c1649cd8fc51adc1253b9934491237d3f9ffc /src/components/settings/SettingsLayout.tsx | |
parent | Upgrade 'pnpm' to '8.5.1' (diff) | |
download | ferdium-app-b8950dde09cb41eac5dba40ae034abf7a5e6bdb2.tar.gz ferdium-app-b8950dde09cb41eac5dba40ae034abf7a5e6bdb2.tar.zst ferdium-app-b8950dde09cb41eac5dba40ae034abf7a5e6bdb2.zip |
update react version to 18.2.0 and it related changes
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 | ||