fix tab type, bump lib for tree shaking

This commit is contained in:
AAGaming
2022-06-29 11:57:59 -04:00
parent abc5ce5382
commit 18d444e8fc
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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);
}