Skip to content

feat(admin): extract reusable FoodItemCardSkeleton component#141

Open
SamSana-00 wants to merge 1 commit into
rdodiya:gssoc_developfrom
SamSana-00:feat/skeleton-loader-food-items
Open

feat(admin): extract reusable FoodItemCardSkeleton component#141
SamSana-00 wants to merge 1 commit into
rdodiya:gssoc_developfrom
SamSana-00:feat/skeleton-loader-food-items

Conversation

@SamSana-00
Copy link
Copy Markdown

Summary

Closes #37

Extracted the inline CardSkeleton component from FoodItemsGrid.jsx into a reusable FoodItemCardSkeleton component located at src/components/common/skeletons/FoodItemCardSkeleton.jsx.

Changes Made

  • Created src/components/common/skeletons/FoodItemCardSkeleton.jsx as a reusable skeleton component
  • Updated FoodItemsGrid.jsx to import and use the new reusable skeleton instead of the inline one

Why

This makes the skeleton loader reusable across other admin modules as suggested in the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Existing Loader component is not visible during application startup

1 participant