diff options
Diffstat (limited to 'frontend/src/plugin-loader.tsx')
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 12 |
1 files changed, 7 insertions, 5 deletions
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', () => <StorePage />); - this.routerHook.addRoute('/decky/settings', () => <SettingsPage />); - } - - public getPlugins() { - return this.plugins; + this.routerHook.addRoute('/decky/settings', () => { + return ( + <DeckyStateContextProvider deckyState={this.deckyState}> + <SettingsPage /> + </DeckyStateContextProvider> + ); + }); } public addPluginInstallPrompt(artifact: string, version: string, request_id: string, hash: string) { |
