Skip to content

Commit 2bb02e2

Browse files
committed
chore: Run lint:fix
1 parent 5915332 commit 2bb02e2

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/common.mts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,10 @@ export function createQueryKeyFnExport(
240240
modelNames: string[] = [],
241241
) {
242242
// Mutation keys don't require clientOptions
243-
const params = type === "query" ? getRequestParamFromMethod(method, undefined, modelNames) : null;
243+
const params =
244+
type === "query"
245+
? getRequestParamFromMethod(method, undefined, modelNames)
246+
: null;
244247

245248
// override key is used to allow the user to override the the queryKey values
246249
const overrideKey = ts.factory.createParameterDeclaration(

src/createUseQuery.mts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,12 @@ export const createUseQuery = ({
533533
queryKey,
534534
});
535535

536-
const queryKeyFn = createQueryKeyFnExport(queryKey, method, "query", modelNames);
536+
const queryKeyFn = createQueryKeyFnExport(
537+
queryKey,
538+
method,
539+
"query",
540+
modelNames,
541+
);
537542

538543
return {
539544
apiResponse: defaultApiResponse,

0 commit comments

Comments
 (0)