diff --git a/chrome-extension/popup/components/Popup.tsx b/chrome-extension/popup/components/Popup.tsx index 1fa5a1a..e7d6d65 100644 --- a/chrome-extension/popup/components/Popup.tsx +++ b/chrome-extension/popup/components/Popup.tsx @@ -69,7 +69,7 @@ export function Popup ({state}: { state: ExtensionState }) { >; diff --git a/chrome-extension/popup/utils/popupClickHandlers.ts b/chrome-extension/popup/utils/popupClickHandlers.ts index dd93bfd..3079427 100644 --- a/chrome-extension/popup/utils/popupClickHandlers.ts +++ b/chrome-extension/popup/utils/popupClickHandlers.ts @@ -42,6 +42,9 @@ export async function startAdmobAccountSetup () { } +/** + * @deprecated + */ export async function onClickStartAdmobAccountSetup () { await startAdmobAccountSetup(); setTimeout(() => {window.close();}, 200); diff --git a/src/ui/components/accounts/AccountsComponent.tsx b/src/ui/components/accounts/AccountsComponent.tsx index 2ea76a6..f43cbd2 100644 --- a/src/ui/components/accounts/AccountsComponent.tsx +++ b/src/ui/components/accounts/AccountsComponent.tsx @@ -1,6 +1,6 @@ import {AdMobAccount} from 'core/appdeal-api/interfaces/admob-account.interface'; import {AppState} from 'core/store'; -import {remote} from 'electron'; +import {remote, shell} from 'electron'; import {action, ActionTypes} from 'lib/actions'; import {classNames, singleEvent} from 'lib/dom'; import {sendToMain} from 'lib/messages'; @@ -76,7 +76,7 @@ export function AccountsComponent (