import React from "react"; import {Link} from 'react-router-dom'; import { connect } from "react-redux"; export class Services extends React.Component { render() { const { categories } = this.props; const servArray = Object.keys(categories).map(key => { return [key, categories[key]]; }); // console.log ("data:", data); // console.log ("categories:", Object.values (categories)) // console.log ("servArray:", servArray) // console.log ("this.props:", this.props.app) return (
{item.name}
{/*Длительность: {item.duration} ч.
*/}Стоимость: {item.price} грн.