text: import React from "react";
  import { NavLink, Link } from "react-router-dom";
  import { connect } from "react-redux";
  import { startLogout } from "../actions/auth";
  
  export const Header = ({ startLogout }) => (
    <header className="header">
      <div className="content-container">
        <div className="header__content">
          <Link className="header__title" to="/dashboard">
            <img src="/images/logo.svg" alt="a slice of cheese" />
          </Link>
          <button className="button" onClick={startLogout}>
            Logout
          </button>
        </div>
      </div>
    </header>
  );
  
  const mapDispatchToProps = (dispatch) => ({
    startLogout: () => dispatch(startLogout()),
  });
  
  export default connect(undefined, mapDispatchToProps)(Header);
  