Skip to content

Commit

Permalink
Fixed lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Usman committed Oct 27, 2018
1 parent f1f3b67 commit ae2cf62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/assets/v2/js/metamask-approval.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
disabled = ['/', '/how/funder', '/how/contributor', '/tools'];
disabled = [ '/', '/how/funder', '/how/contributor', '/tools' ];

async function metamaskApproval() {
if (window.ethereum) {
Expand All @@ -8,7 +8,7 @@ async function metamaskApproval() {
await ethereum.enable();
}
} catch (error) {
console.log('user denied access');

}
}
}
Expand Down
1 change: 0 additions & 1 deletion app/retail/templates/shared/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
{% include 'shared/favicon.html' %}
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

<script src="{% static "v2/js/web3.min.js" %}"></script>
<script src="{% static "v2/js/metamask-approval.js" %}"></script>

{% if env == 'prod' %}
Expand Down

0 comments on commit ae2cf62

Please sign in to comment.