Syntax tweak
This commit is contained in:
parent
a013741fa1
commit
dde88c539b
|
@ -2,8 +2,11 @@ import React from 'react'
|
|||
import contentHTML from './Home.md'
|
||||
|
||||
class Home extends React.Component {
|
||||
render = () =>
|
||||
<div className="wrapper" dangerouslySetInnerHTML={{ __html: contentHTML }}/>
|
||||
render() {
|
||||
return (
|
||||
<div className="wrapper" dangerouslySetInnerHTML={{ __html: contentHTML }}/>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default Home
|
||||
|
|
Loading…
Reference in New Issue