Skip to content

Commit

Permalink
Do not show multiwallet prompt if user is not logged in
Browse files Browse the repository at this point in the history
  • Loading branch information
KiChjang committed Mar 19, 2020
1 parent 54025b2 commit 4125ece
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/assets/v2/js/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,10 @@ window.addEventListener('load', function() {
});

$(document).ready(function() {
// Don't prompt user if they are not logged in
if (!document.contxt.github_handle) {
return;
}
const Web3Connect = window.Web3Connect.default;
// Determine if we're on prod or not
const isProd = document.location.href.startsWith('https://gitcoin.co');
Expand Down

0 comments on commit 4125ece

Please sign in to comment.