resolved warnings

master
Tudor Stanciu 2020-05-14 00:05:28 +03:00
parent fbb4f82897
commit 72456e3630
1 changed files with 6 additions and 1 deletions

View File

@ -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 {};
}