From 09b928865e27f974e45a62f01fbc8df6a522ee70 Mon Sep 17 00:00:00 2001 From: Matt Dunn-Rankin Date: Wed, 22 Apr 2020 04:02:43 -0700 Subject: [PATCH] refactor away ItemsForZone, it's trivial now --- app/src/WardrobePage.js | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/app/src/WardrobePage.js b/app/src/WardrobePage.js index 760e1ea..2e569f1 100644 --- a/app/src/WardrobePage.js +++ b/app/src/WardrobePage.js @@ -192,10 +192,10 @@ function ItemsPanel({ zonesAndItems, onWearItem }) { {zonesAndItems.map(({ zoneName, items, wornItemId }) => ( - {zoneName} + @@ -240,19 +240,6 @@ function OutfitHeading() { ); } -function ItemsForZone({ zoneName, items, wornItemId, onWearItem }) { - return ( - - {zoneName} - - - ); -} - function Heading1({ children, ...props }) { return (