Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-Becker committed Mar 6, 2022
1 parent 9909fce commit 8325428
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/library/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,22 +188,22 @@ export function fetchTokens(callback) {
loadIncidents()
}
function getERC20() {
fetch('/assets/json/erc20.json').then(response => response.json()).then(data => {
fetch('https://raw.githubusercontent.com/Jon-Becker/revoke-finance/main/public/assets/json/erc20.json').then(response => response.json()).then(data => {
tokenList = data.tokens;
});
}
function getERC721(callback) {
fetch('/assets/json/erc721.json').then(response => response.json()).then(data => {
fetch('https://raw.githubusercontent.com/Jon-Becker/revoke-finance/main/public/assets/json/erc721.json').then(response => response.json()).then(data => {
nftList = data.tokens;
});
}
function getERC1155(callback) {
fetch('/assets/json/erc1155.json').then(response => response.json()).then(data => {
fetch('https://raw.githubusercontent.com/Jon-Becker/revoke-finance/main/public/assets/json/erc1155.json').then(response => response.json()).then(data => {

});
}
function loadIncidents() {
fetch('/assets/json/incidents.json').then(response => response.json()).then(data => {
fetch('https://raw.githubusercontent.com/Jon-Becker/revoke-finance/main/public/assets/json/incidents.json').then(response => response.json()).then(data => {
incidents = data.incidents;
});
}
Expand Down

0 comments on commit 8325428

Please sign in to comment.