aboutsummaryrefslogtreecommitdiff
path: root/src/background/usecases/LinkUseCase.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/usecases/LinkUseCase.ts')
-rw-r--r--src/background/usecases/LinkUseCase.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/background/usecases/LinkUseCase.ts b/src/background/usecases/LinkUseCase.ts
index e87867d..9c0eab5 100644
--- a/src/background/usecases/LinkUseCase.ts
+++ b/src/background/usecases/LinkUseCase.ts
@@ -15,9 +15,9 @@ export default class LinkUseCase {
async openNewTab(
url: string, openerId: number, background: boolean,
): Promise<any> {
- let properties: any = { active: !background };
+ const properties: any = { active: !background };
- let platform = await browser.runtime.getPlatformInfo();
+ const platform = await browser.runtime.getPlatformInfo();
if (platform.os !== 'android') {
// openerTabId not supported on Android
properties.openerTabId = openerId;