Skip to content

Commit

Permalink
correct useFragment example
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed May 3, 2023
1 parent 432f6e5 commit b123c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/graphqlsp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export const Pokemon = props => {
};

export function useFragment<Type>(
_fragment: TypedDocumentNode<Type>,
data: any
data: any,
_fragment: TypedDocumentNode<Type>
): Type {
return data;
}
Expand Down

0 comments on commit b123c4f

Please sign in to comment.