Skip to content

Commit 3a6ffb3

Browse files
authored
chore: fix typos (#6141)
1 parent c8a817f commit 3a6ffb3

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
@@ -74,7 +74,7 @@ export function useBaseQuery<
7474
if (process.env.NODE_ENV === 'development') {
7575
if (!getCurrentScope()) {
7676
console.warn(
77-
'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.',
77+
'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.',
7878
)
7979
}
8080
}

packages/vue-query/src/useIsFetching.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function useIsFetching(
2727
if (process.env.NODE_ENV === 'development') {
2828
if (!getCurrentScope()) {
2929
console.warn(
30-
'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.',
30+
'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.',
3131
)
3232
}
3333
}

packages/vue-query/src/useIsMutating.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function useIsMutating(
2727
if (process.env.NODE_ENV === 'development') {
2828
if (!getCurrentScope()) {
2929
console.warn(
30-
'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.',
30+
'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.',
3131
)
3232
}
3333
}

packages/vue-query/src/useMutation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export function useMutation<
152152
if (process.env.NODE_ENV === 'development') {
153153
if (!getCurrentScope()) {
154154
console.warn(
155-
'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.',
155+
'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.',
156156
)
157157
}
158158
}

packages/vue-query/src/useQueries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export function useQueries<T extends any[]>({
143143
if (process.env.NODE_ENV === 'development') {
144144
if (!getCurrentScope()) {
145145
console.warn(
146-
'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.',
146+
'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.',
147147
)
148148
}
149149
}

0 commit comments

Comments
 (0)