From 72456e363002c6d7cdd9209e50ee0b8e845fe7c0 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Thu, 14 May 2020 00:05:28 +0300 Subject: [PATCH] resolved warnings --- src/components/home/HomePage.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/home/HomePage.js b/src/components/home/HomePage.js index ba3c28f..3e8d067 100644 --- a/src/components/home/HomePage.js +++ b/src/components/home/HomePage.js @@ -2,6 +2,7 @@ import React from "react"; import { Link } from "react-router-dom"; import { connect } from "react-redux"; import { bindActionCreators } from "redux"; +import PropTypes from "prop-types"; import { loadSystemDateTime, loadSystemVersion, @@ -34,7 +35,11 @@ const HomePage = ({ actions }) => { ); }; -function mapStateToProps(state) { +HomePage.propTypes = { + actions: PropTypes.object.isRequired +}; + +function mapStateToProps() { return {}; }