Skip to content

Commit

Permalink
Merge pull request #286 from mitjade/master
Browse files Browse the repository at this point in the history
forceFetch -> fetchPolicy
  • Loading branch information
Sashko Stubailo authored Sep 5, 2017
2 parents 2a94807 + 6bb508e commit 3038bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-docs/source/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const PROFILE_QUERY = gql`
`;

export default withApollo(graphql(PROFILE_QUERY, {
options: { forceFetch: true },
options: { fetchPolicy: 'network-only' },
props: ({ data: { loading, currentUser } }) => ({
loading, currentUser,
}),
Expand Down

0 comments on commit 3038bcf

Please sign in to comment.