Skip to content

Commit 3728928

Browse files
authored
fix: typo in useResult deprecation message (#1414)
1 parent d5fab5e commit 3728928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue-apollo-composable/src/useResult.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function useResult<
7979
defaultValue?: TDefaultValue,
8080
pick?: (data: DeepRequired<DeepNonNullable<TResult>>) => TReturnValue,
8181
): UseResultReturn<TResult | TResult[keyof TResult] | TDefaultValue | TReturnValue | undefined> {
82-
console.warn(`'useResult' is deprecated and will be removed soon. Plase use a computed instead.
82+
console.warn(`'useResult' is deprecated and will be removed soon. Please use 'computed' instead.
8383
Before:
8484
const items = useResult(result, [], data => data.someField.myItems)
8585
After:

0 commit comments

Comments
 (0)