diff options
author | Muhamed <unknown> | 2023-05-27 01:32:44 +0530 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2023-05-27 18:10:24 +0530 |
commit | b8950dde09cb41eac5dba40ae034abf7a5e6bdb2 (patch) | |
tree | 978c1649cd8fc51adc1253b9934491237d3f9ffc /src/components/layout | |
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/layout')
-rw-r--r-- | src/components/layout/AppLayout.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/layout/AppLayout.tsx b/src/components/layout/AppLayout.tsx index 9ea5463a2..86b4e787e 100644 --- a/src/components/layout/AppLayout.tsx +++ b/src/components/layout/AppLayout.tsx | |||
@@ -1,4 +1,4 @@ | |||
1 | import React, { Component } from 'react'; | 1 | import React, { Component, PropsWithChildren } 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 { TitleBar } from 'electron-react-titlebar/renderer'; | 4 | import { TitleBar } from 'electron-react-titlebar/renderer'; |
@@ -99,7 +99,7 @@ interface IState { | |||
99 | } | 99 | } |
100 | 100 | ||
101 | @observer | 101 | @observer |
102 | class AppLayout extends Component<IProps, IState> { | 102 | class AppLayout extends Component<PropsWithChildren<IProps>, IState> { |
103 | constructor(props) { | 103 | constructor(props) { |
104 | super(props); | 104 | super(props); |
105 | 105 | ||