import React from 'react'; import {connect} from 'react-redux' import {Switch, Route} from "react-router-dom"; import { getAll, getDoctors, getServices, setAppointmentDate, setAppointmentDoctor, setAppointmentTime, setAppointmentSpec, setAppointmentComment, clearAppointment, putOrders, } from "./store/app/actions"; import Header from "./components/Header"; import Footer from "./components/Footer"; import Doctors from "./components/Doctors" import Services from "./components/Services" import Service from "./components/Service" import Appointment from "./components/Appointment" export class App extends React.Component { componentDidMount() { // this.props.getDoctors(); // this.props.getServices() this.props.getAll() } render() { console.log(this.props.app) return (