MenuSkeleton: apply 3 fr for desktop size & clean code
This commit is contained in:
@@ -56,8 +56,8 @@ function MenuPage() {
|
||||
orderType={orderType || ""}
|
||||
/>
|
||||
|
||||
{isLoading ? (
|
||||
<MenuSkeleton categoryCount={10} itemCount={8} variant="default" />
|
||||
{!isLoading ? (
|
||||
<MenuSkeleton categoryCount={10} itemCount={30} variant="default" />
|
||||
) : (
|
||||
<div className={styles.menuContainer}>
|
||||
<div className={styles.restaurantHeader}>
|
||||
|
||||
Reference in New Issue
Block a user