Skip to content

Commit

Permalink
remove prompt during wallet connect flow. it's not feasible (#5163)
Browse files Browse the repository at this point in the history
* remove prompt during wallet connect flow. it's not feasible

* rev pbx smh
  • Loading branch information
walmat authored Oct 26, 2023
1 parent a55956d commit a405721
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/walletConnect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ import { AuthRequest } from '@/walletConnect/sheets/AuthRequest';
import { getProviderForNetwork } from '@/handlers/web3';
import { RainbowNetworks } from '@/networks';
import { uniq } from 'lodash';
import { handleReviewPromptAction } from '@/utils/reviewAlert';
import { ReviewPromptAction } from '@/storage/schema';

const SUPPORTED_EVM_CHAIN_IDS = RainbowNetworks.filter(
({ features }) => features.walletconnect
Expand Down Expand Up @@ -784,10 +782,6 @@ export async function onSessionRequest(
});
}

InteractionManager.runAfterInteractions(() => {
handleReviewPromptAction(ReviewPromptAction.DappConnections);
});

maybeGoBackAndClearHasPendingRedirect({ delay: 300 });
},
},
Expand Down

0 comments on commit a405721

Please sign in to comment.