From d49f0bf18d6edeee95b15968096ccdb45ba7e009 Mon Sep 17 00:00:00 2001 From: bowlingx Date: Thu, 5 Dec 2019 09:59:04 -0600 Subject: [PATCH] fix(createQuery): have default values by default --- src/lib/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/store.ts b/src/lib/store.ts index fe81a6a..9dfcbfd 100644 --- a/src/lib/store.ts +++ b/src/lib/store.ts @@ -181,7 +181,7 @@ export const factoryParameters = ( return useMemo( () => ({ - createQuery, + createQuery: (customValues?: T) => createQuery(customValues || values), createQueryString: (customValues?: T) => stringify(createQuery(customValues || values)), initialValues,