diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js
index a60e91adb..845182958 100644
--- a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js
+++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommon.js
@@ -17,7 +17,8 @@ class CompetitionCommon extends Component{
this.state={
data:undefined,
bannerdata:undefined,
- module_type:undefined
+ module_type:undefined,
+ mdContentdata:undefined
}
}
@@ -69,7 +70,7 @@ class CompetitionCommon extends Component{
axios.get(url).then((response) => {
if(response.status===200){
this.setState({
- mdContent:response.data
+ mdContentdata:response.data
})
}
}).catch((error) => {
@@ -80,7 +81,7 @@ class CompetitionCommon extends Component{
}
render() {
- let {data,bannerdata,module_type,module_id,mdContent}=this.state;
+ let {data,bannerdata,module_type,module_id,mdContentdata}=this.state;
console.log(module_type)
return (
data===undefined?"":
diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionContents.js b/public/react/src/modules/competitions/Competitioncommon/CompetitionContents.js
index 767e6b956..f9d966be0 100644
--- a/public/react/src/modules/competitions/Competitioncommon/CompetitionContents.js
+++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionContents.js
@@ -21,15 +21,18 @@ class CompetitionContents extends Component{
render() {
- let{mdContent}=this.props;
+ let{mdContentdata}=this.props;
+ //
return (
-
:""}
+
+
+
+
)
diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionContentsChart.js b/public/react/src/modules/competitions/Competitioncommon/CompetitionContentsChart.js
index 730fae89b..765559e52 100644
--- a/public/react/src/modules/competitions/Competitioncommon/CompetitionContentsChart.js
+++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionContentsChart.js
@@ -86,7 +86,7 @@ class CompetitionContents extends Component{
return (
-
+