const { hotReducer, userReducer } = this.props;
if (!userReducer.user._id) {
return (
<Modal
animationType={'none'}
transparent={true}
visible={true}
onRequestClose={() => this._setModalVisible(false)}
>
<LoginContainer {...this.props}/>
</Modal>
);
}
网友评论