Skip to content

Commit

Permalink
(minor)
Browse files Browse the repository at this point in the history
  • Loading branch information
saparagus committed Nov 9, 2024
1 parent a563e52 commit d8db12f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions client/components/DebugTestView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { useSelector, useDispatch } from 'react-redux'
import { getAnswerFeedback } from 'Utilities/redux/feedbackDebuggerReducer'
import { Table, Form } from 'semantic-ui-react'
import { Button, Spinner } from 'react-bootstrap'
import { FormattedMessage, FormattedHTMLMessage } from 'react-intl'

const DebugTestView = () => {
const dispatch = useDispatch()
Expand Down Expand Up @@ -49,9 +50,16 @@ const DebugTestView = () => {
</Form>
{feedback && (
<div>
<br/>
<br/>
<h4>Feedback: {feedback.message}</h4>
<br/>
<h4>
Feedback:
<FormattedHTMLMessage
id={"<ul> <li />" +
feedback.message.replace(/---/g, "<li />") +
"</ul>"
} />

</h4>
<Table celled fixed unstackable>
<Table.Header>
<Table.Row textAlign="center">
Expand Down

0 comments on commit d8db12f

Please sign in to comment.