import { format } from 'date-fns' import React from 'react' import { Helmet } from 'react-helmet' import { connect } from 'react-redux' import { Link } from 'react-router-dom' import { deletePicture, uploadPicture } from '../../actions' import { apiUrl } from '../../utils' function Profile ({ message, onDeletePicture, onUploadPicture, user }) { return (
mpwo - {user.username} - Profile { message !== '' && ( {message} )}

Profile

{user.username} {' '}