X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=cmd%2Fweb%2Fjs%2Fpoloniex.jsx;h=5c374c3b3efbf2675cb642d208a3ef8ad9527973;hb=d5b8f0ffbbde5fb8d41c3abb4b0969b962746b52;hp=b28bc26a7b39f4dd78c252aa804573b5c89766fb;hpb=cf5bb85cede5b05b58ed2b40460d0b913e8b2cf6;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FCryptoportfolio%2FFront.git diff --git a/cmd/web/js/poloniex.jsx b/cmd/web/js/poloniex.jsx index b28bc26..5c374c3 100644 --- a/cmd/web/js/poloniex.jsx +++ b/cmd/web/js/poloniex.jsx @@ -1,6 +1,7 @@ import Api from './api.js'; import React from 'react'; import {PFBalance, Assets} from './balance.js'; +import Panel from './panel.js'; class PoloniexController extends React.Component { constructor(props) { @@ -74,25 +75,6 @@ class PoloniexController extends React.Component { } } -class Panel extends React.Component { - render = () => { - if (this.props.component === null) { - return
; - } - - return ( -
-
-
-
{this.props.title}
-
-
- {this.props.component} -
-
); - } -} - class PoloniexBalance extends React.Component { render = () => {