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