Performance sweep (#147)

This commit is contained in:
Gregory Schier
2024-12-20 17:31:15 -08:00
committed by GitHub
parent 42bf016e90
commit 27134a52ad
85 changed files with 2337 additions and 1413 deletions

View File

@@ -49,7 +49,7 @@ export function useKeyValue<T extends object | boolean | number | string | null>
}
},
// eslint-disable-next-line react-hooks/exhaustive-deps
[fallback, key, namespace],
[typeof key === 'string' ? key : key.join('::'), namespace],
);
const reset = useCallback(async () => mutate.mutateAsync(fallback), [mutate, fallback]);