From 085aacea068dccda170045715ee41dfbfbf44f00 Mon Sep 17 00:00:00 2001 From: botato <63275405+botatooo@users.noreply.github.com> Date: Sun, 3 Jul 2022 02:14:43 +0000 Subject: Use deckyState in uninstall menu (fixes #98) (#100) --- frontend/src/plugin-loader.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'frontend/src/plugin-loader.tsx') diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index fc48fdd9..17b3ce15 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -44,11 +44,13 @@ class PluginLoader extends Logger { }); this.routerHook.addRoute('/decky/store', () => ); - this.routerHook.addRoute('/decky/settings', () => ); - } - - public getPlugins() { - return this.plugins; + this.routerHook.addRoute('/decky/settings', () => { + return ( + + + + ); + }); } public addPluginInstallPrompt(artifact: string, version: string, request_id: string, hash: string) { -- cgit v1.2.3