Skip to content

Commit 1902577

Browse files
authored
fix Subscription component prop name
1 parent 4e2b2b9 commit 1902577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/advanced/subscriptions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const COMMENTS_SUBSCRIPTION = gql`
132132

133133
const DontReadTheComments = ({ repoFullName }) => (
134134
<Subscription
135-
subscription={COMMENTS_SUBSCRIPTION}
135+
query={COMMENTS_SUBSCRIPTION}
136136
variables={{ repoFullName }}
137137
>
138138
{({ data: { commentAdded }, loading }) => (

0 commit comments

Comments
 (0)