diff --git a/chrome-extension/popup/components/Popup.tsx b/chrome-extension/popup/components/Popup.tsx index e7d6d65..3c4ee12 100644 --- a/chrome-extension/popup/components/Popup.tsx +++ b/chrome-extension/popup/components/Popup.tsx @@ -12,7 +12,7 @@ import styles from './Popup.scss'; function SignInButton () { return (

Sign in to continue

-
Sign In
+
Sign In
); } @@ -69,7 +69,7 @@ export function Popup ({state}: { state: ExtensionState }) { ; diff --git a/src/core/appdeal-api/auth-context.ts b/src/core/appdeal-api/auth-context.ts index b28a4a1..4cb5c7e 100644 --- a/src/core/appdeal-api/auth-context.ts +++ b/src/core/appdeal-api/auth-context.ts @@ -19,10 +19,9 @@ export class AuthContext extends EventEmitter { private static storage: JsonStorage; - public static readonly ready: Promise = new Promise(() => {}); + public static ready: Promise = new Promise(() => {}); static async init (storage: JsonStorage) { - // @ts-ignore return AuthContext.ready = new Promise(async r => { AuthContext.storage = storage; AuthContext.TOKENS = new Map(Object.entries(await AuthContext.storage.load(this.TOKENS_FILE, {}))); diff --git a/src/ui/components/accounts/AccountsComponent.tsx b/src/ui/components/accounts/AccountsComponent.tsx index f43cbd2..23adeeb 100644 --- a/src/ui/components/accounts/AccountsComponent.tsx +++ b/src/ui/components/accounts/AccountsComponent.tsx @@ -76,7 +76,7 @@ export function AccountsComponent (
diff --git a/webpack/development.ts b/webpack/development.ts index 1791ffd..734239e 100644 --- a/webpack/development.ts +++ b/webpack/development.ts @@ -1,4 +1,4 @@ -import path from 'path'; +import * as path from 'path'; import webpack from 'webpack'; import merge from 'webpack-merge'; import {entriesConfig, SRC_PATH} from './default';