From 98604b39daa673f7b1a0662c1c53fb50bec93923 Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 4 Jan 2021 08:47:39 +0000 Subject: [PATCH] add message for when you have no outfits --- src/app/UserOutfitsPage.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app/UserOutfitsPage.js b/src/app/UserOutfitsPage.js index c834e0d..653c681 100644 --- a/src/app/UserOutfitsPage.js +++ b/src/app/UserOutfitsPage.js @@ -83,6 +83,12 @@ function UserOutfitsPageContent() { const outfits = data.currentUser.outfits; + if (outfits.length === 0) { + return ( + You don't have any outfits yet. Maybe you can create some! + ); + } + return ( {outfits.map((outfit) => (