From b8950dde09cb41eac5dba40ae034abf7a5e6bdb2 Mon Sep 17 00:00:00 2001
From: Muhamed <unknown>
Date: Sat, 27 May 2023 01:32:44 +0530
Subject: update react version to 18.2.0 and it related changes

---
 src/components/layout/AppLayout.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/layout/AppLayout.tsx')

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 @@
-import React, { Component } from 'react';
+import React, { Component, PropsWithChildren } from 'react';
 import { observer } from 'mobx-react';
 import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl';
 import { TitleBar } from 'electron-react-titlebar/renderer';
@@ -99,7 +99,7 @@ interface IState {
 }
 
 @observer
-class AppLayout extends Component<IProps, IState> {
+class AppLayout extends Component<PropsWithChildren<IProps>, IState> {
   constructor(props) {
     super(props);
 
-- 
cgit v1.2.3-54-g00ecf

