fix faq video

This commit is contained in:
fbruc03 2022-11-11 12:21:13 +01:00
parent a31195f71e
commit f95b1b36ca
2 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,7 @@
"reactour": "^1.18.7",
"redux": "^4.2.0",
"redux-thunk": "^2.4.1",
"rehype-raw": "^6.1.1",
"remark-gemoji": "^7.0.1",
"remark-gfm": "^3.0.1",
"styled-components": "^4.4.1",

View File

@ -8,6 +8,7 @@ import Button from "@material-ui/core/Button";
import Typography from "@material-ui/core/Typography";
import * as Blockly from "blockly";
import ReactMarkdown from "react-markdown";
import rehypeRaw from "rehype-raw";
import Container from "@material-ui/core/Container";
import ExpansionPanel from "@material-ui/core/ExpansionPanel";
import ExpansionPanelSummary from "@material-ui/core/ExpansionPanelSummary";
@ -61,6 +62,7 @@ class Faq extends Component {
className="news"
allowDangerousHtml="true"
children={object.answer}
rehypePlugins={[rehypeRaw]}
></ReactMarkdown>
</Typography>
</ExpansionPanelDetails>