import React from 'react';
import {connect} from 'react-redux';
import SysInfo from '../../components/AdminPage/SystemInfo'

const mapStateToProps = (state) => ({
	i18n: state.i18n,
	network: 'network' in state.sysinfo ? state.sysinfo.network : {},
	time: 'time' in state.sysinfo ? state.sysinfo.time : 0
})

export default connect(mapStateToProps)(SysInfo);