We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71df9f3 commit f19cfccCopy full SHA for f19cfcc
apps/stardew.app/src/pages/animals.tsx
@@ -94,10 +94,7 @@ export default function Animals() {
94
95
// Check if they have animal data (not just empty object)
96
const hasAnimalData =
97
- activePlayer?.animals &&
98
- (activePlayer.animals.farmAnimals?.length > 0 ||
99
- activePlayer.animals.pets?.length > 0 ||
100
- activePlayer.animals.horse);
+ activePlayer?.animals && Object.keys(activePlayer.animals).length > 0;
101
102
// Animal image URLs - you can replace these with your external URLs
103
const animalImages: Record<string, string> = {
0 commit comments