File tree Expand file tree Collapse file tree 3 files changed +532
-13
lines changed Expand file tree Collapse file tree 3 files changed +532
-13
lines changed Original file line number Diff line number Diff line change 36
36
"react-dom" : " ^17.0.2" ,
37
37
"react-ga" : " ^3.1.2" ,
38
38
"react-helmet" : " ^6.1.0" ,
39
+ "react-markdown" : " ^8.0.0" ,
39
40
"react-router-dom" : " ^5.2.0" ,
40
41
"react-scripts" : " 5.0.0" ,
41
42
"serve" : " ^11.3.2" ,
Original file line number Diff line number Diff line change 1
1
import React , { FunctionComponent } from "react" ;
2
- // import ReactMarkdown from "react-markdown";
2
+ import ReactMarkdown from "react-markdown" ;
3
3
import raw from "raw.macro" ;
4
4
import { Box , Container } from "@material-ui/core" ;
5
5
import { Helmet } from "react-helmet" ;
@@ -12,7 +12,7 @@ const Legal: FunctionComponent = () => {
12
12
</ Helmet >
13
13
< Box p = { 1 } pt = { [ 2 , 4 ] } pb = { [ 4 , 8 ] } >
14
14
< Container >
15
- { /* <ReactMarkdown source= {raw("../../../resources/legal.md")} /> */ }
15
+ < ReactMarkdown > { raw ( "../../../resources/legal.md" ) } </ ReactMarkdown >
16
16
</ Container >
17
17
</ Box >
18
18
</ >
You can’t perform that action at this time.
0 commit comments