import cn from 'classnames' import { FC } from 'react' import { CommerceProvider } from '@lib/bigcommerce' import { Navbar, Featurebar, Footer } from '@components/core' import { Container, Sidebar } from '@components/ui' import { CartSidebarView } from '@components/cart' import { UIProvider, useUI } from '@components/ui/context' interface Props { className?: string children?: any } const CoreLayout: FC = ({ className, children }) => { const rootClassName = cn('h-full bg-primary', className) const { displaySidebar, closeSidebar } = useUI() return (
{children}
) } const Layout: FC = (props) => ( ) export default Layout