fix: corect layout spacing and restore filter functionality
This commit is contained in:
@@ -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 (
|
||||||
|
|||||||
Reference in New Issue
Block a user