fix: cache item count

This commit is contained in:
Fredrik Burmester
2024-10-12 15:02:10 +02:00
parent 093fdcda45
commit f5be204ac8

View File

@@ -68,6 +68,7 @@ export const LibraryItemCard: React.FC<Props> = ({ library, ...props }) => {
});
return response.data.TotalRecordCount;
},
staleTime: 1000 * 60 * 60,
});
if (!url) return null;