diff --git a/src/photo/cache.ts b/src/photo/cache.ts index 98a49565..aa3ba32b 100644 --- a/src/photo/cache.ts +++ b/src/photo/cache.ts @@ -188,12 +188,10 @@ export const getPhotosNearIdCached = ( }; }); -export const getPhotosMetaCached = ( - ...args: Parameters -) => unstable_cache( +export const getPhotosMetaCached = unstable_cache( getPhotosMeta, - [KEY_PHOTOS, KEY_COUNT, KEY_DATE_RANGE, ...getPhotosCacheKeys(...args)], -)(...args); + [KEY_PHOTOS, KEY_COUNT, KEY_DATE_RANGE], +); export const getPhotosMostRecentUpdateCached = unstable_cache(