@ -153,6 +153,7 @@ function PatrolPlan (props) {
curRecord={curRecord}
onCancel={() => {
setVisible(false);
setCurRecord(null)
}}
/> : null
}
@ -162,7 +163,6 @@ function PatrolPlan (props) {
function mapStateToProps (state) {
const { auth } = state
console.log(state);
return {
user: auth.user