import React from 'react'; import {Link} from 'react-router-dom' import {connect} from 'react-redux' export class Doctors extends React.Component { render() { const {data} = this.props; return (
Опыт работы {new Date().toISOString().split('T')[0].split('-')[0] - el.experience.split('T')[0].split('-')[0]} лет
{el.profession}