Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Commit

Permalink
add tokens submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrouid committed Apr 4, 2018
1 parent a834902 commit 021e1d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "public/tokens"]
path = public/tokens
url = https://github.com/balance-io/tokens.git
1 change: 1 addition & 0 deletions public/tokens
Submodule tokens added at c02a01
4 changes: 1 addition & 3 deletions src/components/AssetIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ class AssetIcon extends Component {
this.setState({ imgSrc: eth });
} else {
this.setState({
imgSrc: `https://raw.githubusercontent.com/TrustWallet/tokens/master/images/${
props.asset
}.png`
imgSrc: `/tokens/images/${props.asset}.png`
});
}
};
Expand Down

0 comments on commit 021e1d7

Please sign in to comment.