interface IProps {
  connectedUser: any
}

const Dashboard = ({ connectedUser }) => (
  <div className="dashboard">
    <h1>Witaj, {connectedUser.username}!</h1>

    <ul>
      <li><a href="/logout">Wyloguj się</a></li>
    </ul>
  </div>
)

export default Dashboard
