summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeebles <102569435+beebls@users.noreply.github.com>2026-05-11 15:52:56 -0600
committerBeebles <102569435+beebls@users.noreply.github.com>2026-05-11 15:52:56 -0600
commit6ff704512ccf2b2a3e13166d17bff4febf414034 (patch)
treefb9a784747b8281982c56bddb1cd0ca7a47ab7a7
parentd31c2bf0343abbc7969546d9b6de6f5822ca7321 (diff)
downloaddecky-loader-beebles/icon-error-boundary.tar.gz
decky-loader-beebles/icon-error-boundary.zip
initial potential fix, gotta test on devicebeebles/icon-error-boundary
-rw-r--r--frontend/src/components/PluginView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/components/PluginView.tsx b/frontend/src/components/PluginView.tsx
index ffaa176a..7714d87c 100644
--- a/frontend/src/components/PluginView.tsx
+++ b/frontend/src/components/PluginView.tsx
@@ -56,7 +56,8 @@ const PluginView: FC = () => {
<PanelSectionRow key={name}>
<ButtonItem layout="below" onClick={() => setActivePlugin(name)}>
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
- {icon}
+ {/* @ts-expect-error - ErrorBoundary is given fallback in the patch in errorboundary-hook.tsx, but it's not typed */}
+ <ErrorBoundary fallback={<span>❌</span>}>{icon}</ErrorBoundary>
<div>{name}</div>
<NotificationBadge show={updates?.has(name)} style={{ top: '-5px', right: '-5px' }} />
</div>