diff options
| author | AAGaming <aa@mail.catvibers.me> | 2022-06-20 23:37:52 -0400 |
|---|---|---|
| committer | AAGaming <aa@mail.catvibers.me> | 2022-06-20 23:37:52 -0400 |
| commit | e7c44ee202fcb9ebe5e737eb23485a38b7ea6657 (patch) | |
| tree | e125988f23bc35219b0abcfa1c0f3a1a0abf570c /frontend/src/plugin-loader.tsx | |
| parent | 39f6a7688de64b41090ec2030e46470b49c6866f (diff) | |
| download | decky-loader-e7c44ee202fcb9ebe5e737eb23485a38b7ea6657.tar.gz decky-loader-e7c44ee202fcb9ebe5e737eb23485a38b7ea6657.zip | |
Replace tabs hook, fix panels, bump lib
Diffstat (limited to 'frontend/src/plugin-loader.tsx')
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index 442db3e4..5f284503 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -117,10 +117,10 @@ class PluginLoader extends Logger { private async importReactPlugin(name: string) { let res = await fetch(`http://127.0.0.1:1337/plugins/${name}/frontend_bundle`); if (res.ok) { - let { name: _, content } = await eval(await res.text())(this.createPluginAPI(name)); + let plugin = await eval(await res.text())(this.createPluginAPI(name)); this.plugins.push({ name: name, - ...content, + ...plugin, }); } else throw new Error(`${name} frontend_bundle not OK`); } |
