import React, { useEffect } from 'react';
import { connect } from 'react-redux';
const SetControl = (props) => {
const { dispatch, actions, clientHeight, history, pomsAmbari, pomsKubesphere } = props
useEffect(() => {
}, [])
return (
{
history.push({ pathname: '/facility/serverInformation/grafana', })
}}>
{/*
{
history.push({ pathname: '/facility/serverInformation/kubesphere', })
}}> */}
{/*
*/}
)
}
function mapStateToProps (state) {
const { auth, global, members, webSocket } = state;
return {
clientHeight: global.clientHeight,
pomsAmbari: global.pomsAmbari,
pomsKubesphere: global.pomsKubesphere,
};
}
export default connect(mapStateToProps)(SetControl);