Skip to content

Commit

Permalink
Use TokenBadge from aragonUI (aragon#857)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpierre authored May 17, 2019
1 parent 49b7f24 commit 04a8807
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 75 deletions.
2 changes: 1 addition & 1 deletion apps/token-manager/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"@aragon/api": "^1.0.0",
"@aragon/api-react": "^1.0.0-beta.2",
"@aragon/ui": "^0.34.0",
"@aragon/ui": "^0.38.1",
"bn.js": "^4.11.6",
"prop-types": "^15.7.2",
"react": "^16.8.4",
Expand Down
4 changes: 2 additions & 2 deletions apps/token-manager/app/src/components/SideBar.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from 'react'
import styled from 'styled-components'
import { Text, breakpoint, theme } from '@aragon/ui'
import { TokenBadge, Text, breakpoint, theme } from '@aragon/ui'
import { useNetwork } from '@aragon/api-react'
import { formatBalance, stakesPercentages } from '../utils'
import TokenBadge from './TokenBadge'
import You from './You'
import LocalIdentityBadge from './LocalIdentityBadge/LocalIdentityBadge'

Expand Down Expand Up @@ -79,6 +78,7 @@ class SideBar extends React.Component {
address={tokenAddress}
name={tokenName}
symbol={tokenSymbol}
networkType={network.type}
/>
</InfoRow>
</ul>
Expand Down
72 changes: 0 additions & 72 deletions apps/token-manager/app/src/components/TokenBadge.js

This file was deleted.

0 comments on commit 04a8807

Please sign in to comment.