summaryrefslogtreecommitdiff
path: root/frontend/src/tabs-hook.ts
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/src/tabs-hook.ts
parentabc5ce53827e88bd4bed695ac166d27f4b848074 (diff)
downloaddecky-loader-18d444e8fc04da818250b36212540065693d3fa2.tar.gz
decky-loader-18d444e8fc04da818250b36212540065693d3fa2.zip
fix tab type, bump lib for tree shaking
Diffstat (limited to 'frontend/src/tabs-hook.ts')
-rw-r--r--frontend/src/tabs-hook.ts2
1 files changed, 1 insertions, 1 deletions
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);
}