import React, { Component } from "react"; import { connect } from "react-redux"; import { Redirect, Link } from "react-router-dom"; import { Button, Container, Header, Segment } from "semantic-ui-react"; class ClientShifts extends Component { render() { const { selfUser } = this.props; if (selfUser.client) { return ; } else { return ; } } } function mapStateToProps(state) { return { selfUser: state.user.selfUser }; } const ClientShiftsView = ({ user }) => (
Shifts

Todo: List Shifts

); export default connect(mapStateToProps)(ClientShifts);