import React, { useEffect } from 'react'; import { connect } from 'react-redux'; import { IconReply } from '@douyinfe/semi-icons'; import { Button } from '@douyinfe/semi-ui'; const Pghero = (props) => { const { dispatch, actions, pomsPghero, clientHeight,history } = props useEffect(() => { }, []) return (
) } function mapStateToProps (state) { const { auth, global, members, webSocket } = state; return { clientHeight: global.clientHeight, pomsPghero: global.pomsPghero, }; } export default connect(mapStateToProps)(Pghero);