resolved warnings
parent
fbb4f82897
commit
72456e3630
|
@ -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 {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue