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