fix: corect layout spacing and restore filter functionality

This commit is contained in:
2025-12-18 09:52:07 +01:00
parent a3aa4f8b25
commit 9ba1f8bd56

View File

@@ -142,7 +142,7 @@ export default function BottleGrid({ bottles }: BottleGridProps) {
return new Date(b.created_at).getTime() - new Date(a.created_at).getTime(); return new Date(b.created_at).getTime() - new Date(a.created_at).getTime();
} }
}); });
}, [bottles, searchQuery, selectedCategory, selectedDistillery, sortBy]); }, [bottles, searchQuery, selectedCategory, selectedDistillery, selectedStatus, sortBy]);
if (!bottles || bottles.length === 0) { if (!bottles || bottles.length === 0) {
return ( return (