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 4, 2020
1 parent 05a1e25 commit 1f472b1
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 @@ -1065,6 +1065,10 @@ var actions_page_warn_if_not_on_same_network = function() {
attach_change_element_type();

$(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 1f472b1

Please sign in to comment.