X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=cmd%2Fweb%2Fjs%2Faccount.jsx;h=9a976f4c0729bf104bc82ff3a0bdf80e1358a516;hb=a6820180928670b0642fa6a28ac221ce158230bb;hp=3dc8afd084b48551ca7e2a673fed7781db2178d7;hpb=d1c0ccfcb84f1b8778e38b027a333d03e1f4ae9e;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FCryptoportfolio%2FFront.git diff --git a/cmd/web/js/account.jsx b/cmd/web/js/account.jsx index 3dc8afd..9a976f4 100644 --- a/cmd/web/js/account.jsx +++ b/cmd/web/js/account.jsx @@ -1,27 +1,6 @@ import Api from './api.js'; import React from 'react'; -import classnames from 'classnames'; - -class Panel extends React.Component { - render = () => { - if (this.props.component === null) { - return
; - } - - var className = classnames('row', this.props.topClassName); - - return ( -
-
-
-
{this.props.title}
-
-
- {this.props.component} -
-
); - } -} +import Panel from './panel.js'; class AccountInformation extends React.Component { constructor(props) { @@ -198,12 +177,10 @@ class PoloniexCredentialsForm extends React.Component {
- - + + + +