make help a stateless component

This commit is contained in:
Daniel Ternyak 2017-05-23 21:25:51 -05:00
parent c6b172562a
commit 37f611ef91
1 changed files with 25 additions and 32 deletions

View File

@ -1,15 +1,8 @@
import React, {Component} from "react";
import React from "react";
export default class Help extends Component {
constructor(props) {
super(props)
}
render() {
return (
const Help = () => (
<section className="container" style={{minHeight: '50%'}}>
<div className="tab-content">
<article className="tab-pane help active">
<h1 translate="NAV_Help">Help</h1>
<article className="collapse-container">
@ -21,14 +14,14 @@ export default class Help extends Component {
download a new version of the repo. Click for details.</span></a></h3></li>
<li><h3>This
page is deprecated. Please check out our more up-to-date and
searchable <a href="https://myetherwallet.groovehq.com/help_center" target="_blank">Knowledge Base. </a></h3></li>
searchable <a href="https://myetherwallet.groovehq.com/help_center" target="_blank">Knowledge
Base. </a></h3></li>
</ul>
</div>
</article>
</article>
</div>
</section>
);
}
}
export default Help