From c85004bc056f39f6ce6e6bc1f3cb6e619f62d799 Mon Sep 17 00:00:00 2001 From: Marco Antonio Gonzalez Junior Date: Mon, 16 Apr 2018 19:35:23 -0300 Subject: [PATCH] Fix typo on Subscription. --- src/Components/EventComments.js | 6 +++--- ...riptionEventComments.js => SubscriptionEventComments.js} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename src/GraphQL/{SubsriptionEventComments.js => SubscriptionEventComments.js} (100%) diff --git a/src/Components/EventComments.js b/src/Components/EventComments.js index 56f91c8..314c4f6 100644 --- a/src/Components/EventComments.js +++ b/src/Components/EventComments.js @@ -4,7 +4,7 @@ import { graphql } from "react-apollo"; import moment from 'moment'; import QueryGetEvent from "../GraphQL/QueryGetEvent"; -import SubsriptionEventComments from "../GraphQL/SubsriptionEventComments"; +import SubscriptionEventComments from "../GraphQL/SubscriptionEventComments"; import NewComment from "./NewComment"; @@ -62,7 +62,7 @@ const EventCommentsWithData = graphql( props: props => ({ comments: props.data.getEvent.comments, subscribeToComments: () => props.data.subscribeToMore({ - document: SubsriptionEventComments, + document: SubscriptionEventComments, variables: { eventId: props.ownProps.eventId, }, @@ -96,4 +96,4 @@ const EventCommentsWithData = graphql( }, )(EventComments); -export default EventCommentsWithData; \ No newline at end of file +export default EventCommentsWithData; diff --git a/src/GraphQL/SubsriptionEventComments.js b/src/GraphQL/SubscriptionEventComments.js similarity index 100% rename from src/GraphQL/SubsriptionEventComments.js rename to src/GraphQL/SubscriptionEventComments.js