mirror of
https://github.com/mue/mue.git
synced 2026-07-13 12:07:45 +02:00
Refactor marketplace components to use hooks and context
- Converted ItemPage from a class component to a functional component using hooks for state management. - Introduced MarketplaceContext for managing marketplace-related state and actions. - Created custom hooks: useMarketplaceData for fetching and sorting marketplace items, useMarketplaceInstall for handling installation and uninstallation of items, and useMarketplaceNavigation for managing navigation within the marketplace. - Implemented BrowsePage and CollectionPage components to display items and collections with improved structure and functionality. - Enhanced error handling and loading states across the marketplace features.
This commit is contained in:
@@ -299,7 +299,7 @@
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 5px 25px black;
|
||||
aspect-ratio: 1 / 1;
|
||||
object-fit: contain;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.divider {
|
||||
|
||||
Reference in New Issue
Block a user