Skip to content

Commit

Permalink
Merge pull request #109 from datpenguinclub/patch-1
Browse files Browse the repository at this point in the history
remove unneccessary is isValidJson() check
  • Loading branch information
hypnagonia authored Oct 29, 2021
2 parents cc1e524 + 9481556 commit de4c841
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/popup/pages/Token/HRC721/Gallery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ export default {
const response = await fetch(uri, { mode: "cors" });
if (response.status === 200) {
const jsonResponse = await response.json();
if (this.IsValidJson(jsonResponse)) {
const { image, name, description, attributes } = jsonResponse;
Vue.set(this.nfts, index, {
uri: true,
Expand All @@ -148,7 +147,7 @@ export default {
loading: false,
});
return;
}
}
}
if (id) {
Expand Down

0 comments on commit de4c841

Please sign in to comment.