text: import React from "react";
  import { Link, NavLink } from "react-router-dom";
  import { connect } from "react-redux";
  import { signOut } from "../../store/actions/authActions";
  
  const SignedInLinks = (props) => {
    return (
      <ul className="right">
        <li>
          <NavLink to="/createItem">New Item</NavLink>
        </li>
        <li>
          <Link onClick={props.signOut}>Sign Out</Link>
        </li>
        <li>
          <NavLink to="/" className="btn btn-floating red">
            {props.profile.initials}
          </NavLink>
        </li>
      </ul>
    );
  };
  
  const mapDispatchToProps = (dispatch) => {
    return {
      signOut: () => dispatch(signOut()),
    };
  };
  
  export default connect(null, mapDispatchToProps)(SignedInLinks);
  