X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=cmd%2Fweb%2Fjs%2Faccount.jsx;h=988d840a3c4996c3e188f0d14098a561a9ffe6c8;hb=d5b8f0ffbbde5fb8d41c3abb4b0969b962746b52;hp=3dc8afd084b48551ca7e2a673fed7781db2178d7;hpb=cf5bb85cede5b05b58ed2b40460d0b913e8b2cf6;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FCryptoportfolio%2FFront.git diff --git a/cmd/web/js/account.jsx b/cmd/web/js/account.jsx index 3dc8afd..988d840 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) {