Skip to content

Commit

Permalink
chore: get rid of useless old tabs hook
Browse files Browse the repository at this point in the history
  • Loading branch information
AAGaming00 committed Dec 30, 2023
1 parent 11a8818 commit 7010406
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 122 deletions.
4 changes: 1 addition & 3 deletions frontend/src/plugin-loader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import RouterHook from './router-hook';
import { deinitSteamFixes, initSteamFixes } from './steamfixes';
import { checkForUpdates } from './store';
import TabsHook from './tabs-hook';
import OldTabsHook from './tabs-hook.old';
import Toaster from './toaster';
import { VerInfo, callUpdaterMethod } from './updater';
import { getSetting, setSetting } from './utils/settings';
Expand All @@ -43,8 +42,7 @@ const FilePicker = lazy(() => import('./components/modals/filepicker'));

class PluginLoader extends Logger {
private plugins: Plugin[] = [];
private tabsHook: TabsHook | OldTabsHook = document.title == 'SP' ? new OldTabsHook() : new TabsHook();
// private windowHook: WindowHook = new WindowHook();
private tabsHook: TabsHook = new TabsHook();
private routerHook: RouterHook = new RouterHook();
public toaster: Toaster = new Toaster();
private deckyState: DeckyState = new DeckyState();
Expand Down
119 changes: 0 additions & 119 deletions frontend/src/tabs-hook.old.tsx

This file was deleted.

0 comments on commit 7010406

Please sign in to comment.