4
0
forked from crowetic/commerce

ProductGrid

This commit is contained in:
Belen Curcio
2020-10-01 17:25:48 -03:00
parent ba4b3b765c
commit de949095d7
21 changed files with 134 additions and 66 deletions

View File

@@ -13,7 +13,7 @@ interface Props {
const Layout: FunctionComponent<Props> = ({ className, children }) => {
const rootClassName = cn(s.root, className);
const { displaySidebar, closeSidebar } = useUI();
const { displaySidebar } = useUI();
return (
<div className={rootClassName}>
<Featurebar
@@ -25,7 +25,7 @@ const Layout: FunctionComponent<Props> = ({ className, children }) => {
<main className="h-screen">{children}</main>
</Container>
{displaySidebar && (
<Sidebar closeSidebar={closeSidebar}>
<Sidebar>
<CartSidebarView />
</Sidebar>
)}