Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
remove progress bar from Profile page (#2177)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramirotw authored Jan 17, 2022
1 parent 0b6b4b7 commit 706011e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/custom/pages/Profile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ import AffiliateStatusCheck from 'components/AffiliateStatusCheck'
import { useHasOrders } from 'api/gnosisProtocol/hooks'
import CowProtocolLogo from 'components/CowProtocolLogo'
import { Title } from 'components/Page'
import { ProgressBar } from 'components/ProgressBar'
import { useState } from 'react'
import { useTokenBalance } from 'state/wallet/hooks'
import { V_COW } from 'constants/tokens'
import { AMOUNT_PRECISION } from 'constants/index'
Expand All @@ -46,7 +44,6 @@ export default function Profile() {
const lastUpdated = useTimeAgo(profileData?.lastUpdated)
const isTradesTooltipVisible = account && chainId == 1 && !!profileData?.totalTrades
const hasOrders = useHasOrders(account)
const [percentage, setPercentage] = useState(0)

const vCowBalance = useTokenBalance(account || undefined, chainId ? V_COW[chainId] : undefined)

Expand Down Expand Up @@ -220,7 +217,6 @@ export default function Profile() {
</GridWrap>
{!account && <Web3Status openOrdersPanel={() => console.log('TODO')} />}
</GridWrap>
<ProgressBar onPercentageClick={setPercentage} percentage={percentage} />
</Wrapper>
</Container>
)
Expand Down

0 comments on commit 706011e

Please sign in to comment.