add message for when you have no outfits
This commit is contained in:
parent
72a99fd5bf
commit
98604b39da
1 changed files with 6 additions and 0 deletions
|
@ -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) => (
|
||||||
|
|
Loading…
Reference in a new issue