if (history.location.state && history.location.state.channels) {
      let state = { ...location.state };
      delete state.channels;
      history.replace({ ...location, state });
    }