message: Preload selected channel
diff: import React, { Component } from 'react';
  +import PropTypes from 'prop-types';
  import styled from 'styled-components';
  +import { withApollo } from 'react-apollo';
  +import selectedChannelQuery from 'extension/src/components/Blocks/components/SelectedChannel/queries/selectedChannel';
  +
  +import Layout from 'extension/src/components/Layout';
  import CenterStretchBox from 'extension/src/components/UI/CenterStretchBox';
  import Text from 'react/components/UI/Text';
  import { GenericButtonLink as ButtonLink } from 'react/components/UI/GenericButton';
  @@ -32,6 +37,18 @@ const LogOutLink = styled(Text).attrs({
  `;
  class MainMenu extends Component {
  + static propTypes = {
  + client: PropTypes.shape({
  + query: PropTypes.func.isRequired,
  + }).isRequired,
  + }
  +
  + componentDidMount() {
  + this.props.client.query({
  + query: selectedChannelQuery,
  + });
  + }
  +
  onLogOut = () => {
  window.localStorage.removeItem('authentication_token');
  window.location.reload();
  @@ -39,14 +56,16 @@ class MainMenu extends Component {
  render() {
  return (
  + <Layout>
  <CenterStretchBox>
  <Button>Add as link</Button>
  <Button>Drag image(s)</Button>
  <Button>Save text(s)</Button>
  <LogOutLink onClick={this.onLogOut} />
  </CenterStretchBox>
  + </Layout>
  );
  }
  }
  -export default MainMenu;
  +export default withApollo(MainMenu);
  