Commit e48735f8 authored by nickstiffler's avatar nickstiffler Committed by Yannis Barlas

fix(team manager): allow for empty graphql responses

parent 649a53a3
......@@ -226,9 +226,9 @@ export default () => (
<Mutation mutation={CLEAN_UP_GLOBAL_TEAM_MEMBERSHIP}>
{cleanUp => (
<Query query={GET_TEAMS}>
{({ data: { teams }, loading }) => (
{({ data: { teams } = {}, loading }) => (
<Query query={GET_USERS}>
{({ data: { users } }) => (
{({ data: { users } = {} }) => (
<TeamManager
cleanUp={cleanUp}
loading={loading}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment