|
@@ -328,10 +328,7 @@ const PageCategory = ({match: {params: {_id}}, getData}) => {
|
|
getData(_id.substring(1))
|
|
getData(_id.substring(1))
|
|
console.log('get', _id,typeof _id)
|
|
console.log('get', _id,typeof _id)
|
|
},[_id])
|
|
},[_id])
|
|
- return (
|
|
|
|
- <CCategory />
|
|
|
|
- )
|
|
|
|
-
|
|
|
|
|
|
+ return ( <CCategory /> )
|
|
}
|
|
}
|
|
|
|
|
|
const CPageCategory = connect(null, {getData: actionCatById})(PageCategory)
|
|
const CPageCategory = connect(null, {getData: actionCatById})(PageCategory)
|