Skip to content

Commit

Permalink
Remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlinton committed Jul 11, 2022
1 parent db5d303 commit 37ce30a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions token-transfer-client/src/components/BalanceCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import DropdownDotsToggle from '@/components/DropdownDotsToggle'
const BalanceCard = ({ onDisplayBonusModal, onDisplayWithdrawModal }) => {
const data = useContext(DataContext)

console.log(data)

const [redirectTo, setRedirectTo] = useState(false)

const doughnutData = currency => {
Expand Down Expand Up @@ -41,7 +39,7 @@ const BalanceCard = ({ onDisplayBonusModal, onDisplayWithdrawModal }) => {
<BorderedCard>
<div className="row">
{data.config.unlockDate &&
moment.utc(data.config.unlockDate).isValid() ? (
moment.utc(data.config.unlockDate).isValid() ? (
<>
<div className="col-12 col-lg-6 my-4">
<h1 className="mb-1">Your tokens are almost here!</h1>
Expand Down Expand Up @@ -117,8 +115,8 @@ const BalanceCard = ({ onDisplayBonusModal, onDisplayWithdrawModal }) => {
{data.config.isLocked
? 0
: Number(
data.totals.balance[currency]
).toLocaleString()}{' '}
data.totals.balance[currency]
).toLocaleString()}{' '}
</div>
<span className="ogn">{currency}</span>
</div>
Expand Down

0 comments on commit 37ce30a

Please sign in to comment.