Skip to content

Commit cec8f6c

Browse files
refactor(vue-query): Fix typos (#6084)
1 parent bbb7f90 commit cec8f6c

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/vue-query/src/useBaseQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function useBaseQuery<
6868
if (process.env.NODE_ENV === 'development') {
6969
if (!getCurrentScope()) {
7070
console.warn(
71-
'vue-query composables like "uesQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.',
71+
'vue-query composables like "useQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.',
7272
)
7373
}
7474
}

packages/vue-query/src/useIsFetching.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function useIsFetching(
1414
if (process.env.NODE_ENV === 'development') {
1515
if (!getCurrentScope()) {
1616
console.warn(
17-
'vue-query composables like "uesQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.',
17+
'vue-query composables like "useQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.',
1818
)
1919
}
2020
}

packages/vue-query/src/useMutation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function useMutation<
6868
if (process.env.NODE_ENV === 'development') {
6969
if (!getCurrentScope()) {
7070
console.warn(
71-
'vue-query composables like "uesQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.',
71+
'vue-query composables like "useQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.',
7272
)
7373
}
7474
}

packages/vue-query/src/useMutationState.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function useIsMutating(
2828
if (process.env.NODE_ENV === 'development') {
2929
if (!getCurrentScope()) {
3030
console.warn(
31-
'vue-query composables like "uesQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.',
31+
'vue-query composables like "useQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.',
3232
)
3333
}
3434
}

packages/vue-query/src/useQueries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export function useQueries<
177177
if (process.env.NODE_ENV === 'development') {
178178
if (!getCurrentScope()) {
179179
console.warn(
180-
'vue-query composables like "uesQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.',
180+
'vue-query composables like "useQuery()" should only be used inside a "setup()" function or a running effect scope. They might otherwise lead to memory leaks.',
181181
)
182182
}
183183
}

0 commit comments

Comments
 (0)