Skip to content

Commit b123c4f

Browse files
authored
correct useFragment example
1 parent 432f6e5 commit b123c4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/graphqlsp/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ export const Pokemon = props => {
6767
};
6868

6969
export function useFragment<Type>(
70-
_fragment: TypedDocumentNode<Type>,
71-
data: any
70+
data: any,
71+
_fragment: TypedDocumentNode<Type>
7272
): Type {
7373
return data;
7474
}

0 commit comments

Comments
 (0)