diff --git a/web/client/src/sections/homePage/containers/homePage.js b/web/client/src/sections/homePage/containers/homePage.js index ebc7883..701b574 100644 --- a/web/client/src/sections/homePage/containers/homePage.js +++ b/web/client/src/sections/homePage/containers/homePage.js @@ -1,11 +1,25 @@ import React, { useEffect, useState } from 'react' +import { connect } from 'react-redux'; import './style.less' function homePage(props) { - + const { clientHeight } = props; return
- + 1
} -export default homePage \ No newline at end of file +function mapStateToProps(state) { + const { + auth, global + } = state; + return { + clientHeight: global.clientHeight, + actions: global.actions, + + }; +} + +export default connect(mapStateToProps)(homePage); + +