Skip to content

Commit

Permalink
check airgap prompted state
Browse files Browse the repository at this point in the history
  • Loading branch information
Cami committed Feb 6, 2024
1 parent bd06de8 commit 26aabf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function Main({

// Modal open views
if (!isViewStateClosed(viewState)) {
if (!isResponseViewState(viewState)) {
if (!isResponseViewState(viewState) && !airgap.getConsent().prompted) {
airgap.setPrompted(true);
}
return (
Expand Down

0 comments on commit 26aabf3

Please sign in to comment.