import React, { Component } from "react";
import { connect } from "react-redux";
import { Card } from "semantic-ui-react";
class ClientProfile extends Component {
render() {
const { selfUser } = this.props;
return ;
}
}
function mapStateToProps(state) {
return { ...state.user };
}
const ClientProfileView = ({ user }) => (
Client Information
{user.client &&
user.client.business_number &&
Business Number: {user.client.business_number}}
);
export default connect(mapStateToProps)(ClientProfile);