summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorAAGaming <aa@mail.catvibers.me>2022-06-29 11:57:59 -0400
committerAAGaming <aa@mail.catvibers.me>2022-06-29 11:57:59 -0400
commit18d444e8fc04da818250b36212540065693d3fa2 (patch)
treebef2660f25991b9c6faa3fde06b673a89773f186 /frontend
parentabc5ce53827e88bd4bed695ac166d27f4b848074 (diff)
downloaddecky-loader-18d444e8fc04da818250b36212540065693d3fa2.tar.gz
decky-loader-18d444e8fc04da818250b36212540065693d3fa2.zip
fix tab type, bump lib for tree shaking
Diffstat (limited to 'frontend')
-rw-r--r--frontend/package.json2
-rw-r--r--frontend/pnpm-lock.yaml8
-rw-r--r--frontend/src/tabs-hook.ts2
3 files changed, 6 insertions, 6 deletions
diff --git a/frontend/package.json b/frontend/package.json
index 803b3e7a..74a5ac0b 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -37,7 +37,7 @@
}
},
"dependencies": {
- "decky-frontend-lib": "^1.0.0",
+ "decky-frontend-lib": "^1.0.1",
"react-icons": "^4.4.0"
}
}
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index 1005d1d6..da05d169 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -9,7 +9,7 @@ specifiers:
'@types/react': 16.14.0
'@types/react-router': 5.1.18
'@types/webpack': ^5.28.0
- decky-frontend-lib: ^1.0.0
+ decky-frontend-lib: ^1.0.1
husky: ^8.0.1
import-sort-style-module: ^6.0.0
inquirer: ^8.2.4
@@ -23,7 +23,7 @@ specifiers:
typescript: ^4.7.3
dependencies:
- decky-frontend-lib: 1.0.0
+ decky-frontend-lib: 1.0.1
react-icons: 4.4.0_react@16.14.0
devDependencies:
@@ -803,8 +803,8 @@ packages:
ms: 2.1.2
dev: true
- /decky-frontend-lib/1.0.0:
- resolution: {integrity: sha512-ebBLyZEv0z51UmzhUNvULwmZfXsknLIelj1iQeGxfFOEI6JXrrjztcF3PsZVv3rVTTgqRfIQnXqyaaUdaeOUxA==}
+ /decky-frontend-lib/1.0.1:
+ resolution: {integrity: sha512-SgIPoB3IcWbzVRlXvs8JfhwrMphHYa7O/Ek2mh+rC0WTVT3TI2qGJ5+OoV16mw5kGY0DMu1ikcZC6ib1lh2zKQ==}
dev: false
/deepmerge/4.2.2:
diff --git a/frontend/src/tabs-hook.ts b/frontend/src/tabs-hook.ts
index b364712d..667fc973 100644
--- a/frontend/src/tabs-hook.ts
+++ b/frontend/src/tabs-hook.ts
@@ -114,7 +114,7 @@ class TabsHook extends Logger {
this.tabs.push(tab);
}
- removeById(id: string) {
+ removeById(id: number) {
this.log('Removing tab', id);
this.tabs = this.tabs.filter((tab) => tab.id !== id);
}