React.js, I can't pass a state from a parent component to a child component – Reactjs
I have a react app that consists of a Layout component and everything else is wrapped in this layout. I have an App.tsx file and the return part of the code looks like this: return ( <Layout> <div className='App'> {isConnected…