docs: added ecommerce recipe (#5017)
* docs: added ecommerce recipe * fix eslint errors
This commit is contained in:
@@ -49,8 +49,8 @@ export default function Details({
|
||||
event.stopPropagation()
|
||||
}}
|
||||
className={clsx(
|
||||
"border-medusa-border-base dark:border-medusa-border-base-dark border-y border-solid border-x-0",
|
||||
"overflow-hidden [&>summary]:relative [&>summary]:z-[400]",
|
||||
"border-x-0 border-y border-solid border-medusa-border-base dark:border-medusa-border-base-dark",
|
||||
"overflow-hidden [&>summary]:relative [&>summary]:z-[398]",
|
||||
props.className
|
||||
)}
|
||||
>
|
||||
|
||||
@@ -21,7 +21,10 @@ export default function DocCardList(props: ModifiedProps): JSX.Element {
|
||||
if (!items) {
|
||||
return <DocCardListForCurrentSidebarCategory {...props} />
|
||||
}
|
||||
const filteredItems = filterDocCardListItems(items)
|
||||
const filteredItems = filterDocCardListItems(items).filter(
|
||||
(item) => !item.customProps.excludeFromDocList
|
||||
)
|
||||
|
||||
return (
|
||||
<section
|
||||
className={clsx("cards-grid", `grid-${props.colSize || "4"}`, className)}
|
||||
|
||||
Reference in New Issue
Block a user