Skip to content

Commit

Permalink
Add delay to page before activating
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy committed Mar 19, 2024
1 parent 2d2a912 commit 22c4eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/help/PaymentComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const PaymentComponent = () => {

if (validLicenseKey && !openedTab) {
openedTab = true;
chrome.runtime.sendMessage({ "message": "openHelp" }, () => window.close());
setTimeout(() => chrome.runtime.sendMessage({ "message": "openHelp" }, () => window.close()), 200);
}
}

Expand Down

0 comments on commit 22c4eec

Please sign in to comment.