diff --git a/src/components/List/index.jsx b/src/components/List/index.jsx
index 173b3a4..db8a46a 100644
--- a/src/components/List/index.jsx
+++ b/src/components/List/index.jsx
@@ -4,24 +4,29 @@ export default function List({ animals, onDeleteTag }) {
return (
<>
Your animals:
-
- {animals.map((animal) => (
- -
-
{animal.name}
-
- {animal.emoji}
-
-
-
- ))}
-
+
+ {animals.length ? (
+
+ {animals.map(animal => (
+ -
+
{animal.name}
+
+ {animal.emoji}
+
+
+
+ ))}
+
+ ) : (
+ "You have no animals yet"
+ )}
>
);
}