diff options
Diffstat (limited to 'frontend/components/Count.js')
| -rw-r--r-- | frontend/components/Count.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/components/Count.js b/frontend/components/Count.js index 800a902..7dfd33f 100644 --- a/frontend/components/Count.js +++ b/frontend/components/Count.js @@ -1,3 +1,4 @@ +// TODO THis is not needed import React, { Component } from 'react' import { graphql, gql } from 'react-apollo' @@ -33,5 +34,4 @@ class Count extends Component { // We export the graphQL HOC - this will fetch the data and inject it into the Count compeont via props -export { ALL_ITEMS_QUERY } -export default graphql(ALL_ITEMS_QUERY, { name: 'allLinksQuery' }) (Count) +export default graphql(ALL_ITEMS_QUERY, { name: 'allLinksQuery' })(Count) |
