import { useContext , useEffect } from 'react' ; import { Context } from '../types/interfaces' ; import { useQuery } from '@apollo/client' ; import { ME } from '../queries' ; interface MainLayoutProps { children : React . ReactNode ; } function MainLayout ( props ) { const { children } = props ; return ( < > < div className = "page-layout" > { children } < /div> < />); } export default MainLayout ;