diff --git a/src/ItemList.js b/src/ItemList.js index 96c7412..0e946df 100644 --- a/src/ItemList.js +++ b/src/ItemList.js @@ -49,9 +49,7 @@ export function ItemListSkeleton({ count }) { return ( {Array.from({ length: count }).map((_, i) => ( - - - + ))} ); @@ -63,33 +61,7 @@ export function Item({ item, outfitState, dispatchToOutfit }) { const theme = useTheme(); return ( - + {item.name} @@ -120,16 +92,54 @@ export function Item({ item, outfitState, dispatchToOutfit }) { /> )} - + ); } function ItemSkeleton() { return ( - - - - + + + + + + + + ); +} + +function ItemContainer({ children }) { + const theme = useTheme(); + + return ( + + {children} ); }