X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=cmd%2Fweb%2Fjs%2Fbalance.jsx;fp=cmd%2Fweb%2Fjs%2Fbalance.jsx;h=515a7ede549b040c1a2bf1506bd598f2eb6e5c72;hb=d5b8f0ffbbde5fb8d41c3abb4b0969b962746b52;hp=d141aa8447d291a7eee7bd131ab3c54286b82238;hpb=cf5bb85cede5b05b58ed2b40460d0b913e8b2cf6;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FCryptoportfolio%2FFront.git diff --git a/cmd/web/js/balance.jsx b/cmd/web/js/balance.jsx index d141aa8..515a7ed 100644 --- a/cmd/web/js/balance.jsx +++ b/cmd/web/js/balance.jsx @@ -1,14 +1,13 @@ import React from 'react'; import moment from 'moment'; +import classnames from 'classnames'; class CurrencyLogo extends React.Component { render = () => { - return
- {this.props.currency} -
; + var className = classnames('cc', this.props.currency, 'currency-logo'); + return ; } } @@ -42,7 +41,7 @@ class CurrencyRate extends React.Component { render = () => { return
-
{this.props.currency}
+
{this.props.currency}
{this.props.positionType}
{this.props.quantity}
{this.props.BTCValue}