Skip to content

Commit c8b9733

Browse files
Implemented private spec
1 parent fcf4c59 commit c8b9733

File tree

1 file changed

+26
-0
lines changed
  • src/shared/components/challenge-detail/Specification

1 file changed

+26
-0
lines changed

src/shared/components/challenge-detail/Specification/index.jsx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,19 @@ export default function ChallengeDetailsView(props) {
198198
/>
199199
)
200200
}
201+
{
202+
privateDescription && (
203+
<React.Fragment>
204+
<h2>
205+
Registered User Additional Information
206+
</h2>
207+
<SpecificationComponent
208+
bodyText={privateDescription}
209+
format={descriptionFormat}
210+
/>
211+
</React.Fragment>
212+
)
213+
}
201214
</article>
202215
)
203216
}
@@ -227,6 +240,19 @@ export default function ChallengeDetailsView(props) {
227240
/>
228241
)
229242
}
243+
{
244+
privateDescription && (
245+
<React.Fragment>
246+
<h2>
247+
Registered User Additional Information
248+
</h2>
249+
<SpecificationComponent
250+
bodyText={privateDescription}
251+
format={descriptionFormat}
252+
/>
253+
</React.Fragment>
254+
)
255+
}
230256
<p />
231257
<p styleName="note">
232258
Please read the challenge specification carefully and

0 commit comments

Comments
 (0)