Remove client from teams list

This commit is contained in:
Barry Low committed 2018-10-12 23:07:59 -07:00
1 parent 5f3f5ceb29
commit f0d116ce82
3 files changed
+5 -6

No files matched your search

@@ -39,8 +39,8 @@ const styles = theme => ({
}
})
export const TeamsList = ({ classes, match, client }) => (
<Query query={GET_ALL_TEAMS_QUERY} fetchPolicy='cache-and-network' client={client} >
export const TeamsList = ({ classes, match }) => (
<Query query={GET_ALL_TEAMS_QUERY} fetchPolicy='cache-and-network' >
{({ loading, error, data, ...props }) => {
console.log('GET_ALL_TEAMS: ', loading, error, data, match, props)
let slug = null
@@ -118,8 +118,7 @@ export const TeamsList = ({ classes, match, client }) => (
TeamsList.propTypes = {
classes: PropTypes.object.isRequired,
match: PropTypes.object,
client: PropTypes.client
match: PropTypes.object
}
export default withStyles(styles)(TeamsList)