import { ChakraProvider , extendTheme } from "@chakra-ui/react" ; import Container from "components/layouts/container" ; import React , { FC } from "react" ; const customTheme = extendTheme ( { config : { initialColorMode : "dark" , useSystemColorMode : false , } , } ) ; const Layout = ( { children } ) => { return ( < ChakraProvider theme = { customTheme } > < Container > { children } < /Container> < /ChakraProvider>); } ; export default Layout ;