remove category image
This commit is contained in:
@@ -95,25 +95,10 @@ export function MenuList({ data, categoryRefs }: MenuListProps) {
|
||||
}}
|
||||
style={{ marginBottom: "1rem" }}
|
||||
>
|
||||
{!isDesktop && (
|
||||
<ImageWithFallback
|
||||
src={category.image || "/default.png"}
|
||||
fallbackSrc="/default.png"
|
||||
alt={category.name}
|
||||
width="100%"
|
||||
height={130}
|
||||
className={styles.categoryMenuItemImage}
|
||||
loadingContainerStyle={{
|
||||
width: "100%",
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
<ProTitle
|
||||
style={{
|
||||
fontSize: "1.25rem",
|
||||
fontWeight: "bold",
|
||||
marginBottom: "1rem",
|
||||
textAlign: "center",
|
||||
color: themeName === "dark" ? "#fff" : "#000044",
|
||||
}}
|
||||
level={5}
|
||||
|
||||
Reference in New Issue
Block a user