1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-24 17:51:14 +02:00

fix PR feedback

This commit is contained in:
Thomas Heartman 2025-09-24 14:49:21 +02:00
parent c73ee604f2
commit 108ed07622
No known key found for this signature in database
GPG Key ID: BD1F880DAED1EE78

View File

@ -30,7 +30,7 @@ export const clearCacheEntries = ({
keysToDelete.forEach((key) => cache.delete(key));
};
type useClearSWRCacheProps = {
type UseClearSWRCacheProps = {
currentKey: string;
clearPrefix: string;
cacheSize?: number;
@ -45,7 +45,7 @@ export const useClearSWRCache = ({
currentKey,
clearPrefix,
cacheSize = 1,
}: useClearSWRCacheProps) => {
}: UseClearSWRCacheProps) => {
const { cache } = useSWRConfig();
clearCacheEntries({
cache,