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