add message for when you have no outfits

This commit is contained in:
Emi Matchu 2021-01-04 08:47:39 +00:00
parent 72a99fd5bf
commit 98604b39da

View file

@ -83,6 +83,12 @@ function UserOutfitsPageContent() {
const outfits = data.currentUser.outfits; const outfits = data.currentUser.outfits;
if (outfits.length === 0) {
return (
<Box>You don't have any outfits yet. Maybe you can create some!</Box>
);
}
return ( return (
<Wrap spacing="4"> <Wrap spacing="4">
{outfits.map((outfit) => ( {outfits.map((outfit) => (