Skip to content

Commit

Permalink
correct typeConditon
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Aug 15, 2022
1 parent 2e18b9f commit 4ddd0ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/graphcache.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ import { gql } from '@urql/core';

cache.readFragment(
gql`
fragment todoFields on User {
fragment todoFields on Todo {
id
}
Expand Down Expand Up @@ -460,7 +460,7 @@ import { gql } from '@urql/core';

cache.writeFragment(
gql`
fragment todoFields on User {
fragment todoFields on Todo {
id
text
}
Expand Down

0 comments on commit 4ddd0ae

Please sign in to comment.