mirror of
https://github.com/vercel/commerce.git
synced 2025-09-07 16:30:17 +00:00
Latest changes - Normalizing cart
This commit is contained in:
@@ -34,7 +34,7 @@ const Sidebar: FC<Props> = ({ children, open = false, onClose }) => {
|
||||
|
||||
return (
|
||||
<Portal>
|
||||
{open ? (
|
||||
{open && (
|
||||
<div className={s.root} ref={ref}>
|
||||
<div className="absolute inset-0 overflow-hidden">
|
||||
<div
|
||||
@@ -48,7 +48,7 @@ const Sidebar: FC<Props> = ({ children, open = false, onClose }) => {
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
) : null}
|
||||
)}
|
||||
</Portal>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user