diff options
| author | Marco Rodolfi <marco.rodolfi@tuta.io> | 2023-05-26 14:08:09 +0200 |
|---|---|---|
| committer | Marco Rodolfi <marco.rodolfi@tuta.io> | 2023-05-26 14:08:09 +0200 |
| commit | 3a83062438e2e86dbaaf459f8af7a2fd5a8df215 (patch) | |
| tree | 98373586ef6f760cf95c6f42c73f26e45e28f6ff | |
| parent | dfdad14ede06a2287ab47fd842b136a75160725a (diff) | |
| download | decky-loader-3a83062438e2e86dbaaf459f8af7a2fd5a8df215.tar.gz decky-loader-3a83062438e2e86dbaaf459f8af7a2fd5a8df215.zip | |
Simplified inlining and cleaning up unused translations
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index 2ce112e2..71c8d0df 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -255,7 +255,6 @@ class PluginLoader extends Logger { version: version, }); } catch (e) { - //this.error(t('PluginLoader.plugin_load_error.message', { name: name }), e); this.error('Error loading plugin ' + name, e); const TheError: FC<{}> = () => ( <Translation> @@ -266,11 +265,12 @@ class PluginLoader extends Logger { <pre> <code>{e instanceof Error ? e.stack : JSON.stringify(e)}</code> </pre> - <IconContext.Provider value={{ style: { verticalAlign: 'middle' } }}> - <div> - <Trans i18nKey="PluginLoader.plugin_error_uninstall" components={[<FaCog />]} /> - </div> - </IconContext.Provider> + <div> + <Trans + i18nKey="PluginLoader.plugin_error_uninstall" + components={[<FaCog style={{ verticalAlign: 'middle' }} />]} + /> + </div> </> ); }} |
