message: Gets log out working
diff: -import React from 'react';
  +import React, { Component } from 'react';
  import PropTypes from 'prop-types';
  import styled from 'styled-components';
  @@ -10,7 +10,20 @@ const SmallLink = styled(Link).attrs({
  })`
  `;
  -const SecondaryLinks = ({ isPremium }) => (
  +export default class SecondaryLinks extends Component {
  + static propTypes = {
  + isPremium: PropTypes.bool.isRequired,
  + }
  +
  + signOut = () => {
  + window.localStorage.clear();
  + window.location.href = '/me/sign_out';
  + }
  +
  + render() {
  + const { isPremium } = this.props;
  +
  + return (
  <div>
  <SmallLink href="/settings">
  Settings
  @@ -34,14 +47,10 @@ const SecondaryLinks = ({ isPremium }) => (
  </SmallLink>
  }
  - <SmallLink href="/sign_out">
  + <SmallLink onClick={this.signOut}>
  Log Out
  </SmallLink>
  </div>
  );
  -
  -SecondaryLinks.propTypes = {
  - isPremium: PropTypes.bool.isRequired,
  -};
  -
  -export default SecondaryLinks;
  + }
  +}
  