We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b13e3 commit a6268b4Copy full SHA for a6268b4
src/generateHooks.ts
@@ -200,7 +200,7 @@ export const createHook = ({
200
? `use${componentName}Query.baseKey()`
201
: `[...use${componentName}Query.baseKey(), params]`;
202
203
- const props = emptyParams ? `props?:` : `{ options = {}, ...params }:`;
+ const props = emptyParams ? `props?` : `{ options = {}, ...params }`;
204
const options = emptyParams ? `...props?.options:` : `...options`;
205
206
const createQuery = () => `
0 commit comments