import React from 'react'; import { connect } from 'umi'; import SceneMobileComponent from '../../../mobile/common/SceneMobile'; function SceneMobile({ dispatch, app, content, sModelType, sModelsId, }) { function removePane(changePanes, currentPane) { dispatch({ type: 'app/removePane', payload: { changePanes, currentPane } }); } const sceneMobileProps = { app, content, dispatch, sModelType, sModelsId, onRemovePane: removePane, }; return ( ); } export default connect(({ app, content }) => ({ app, content }))(SceneMobile);