mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 13:01:59 +00:00
initial potential fix, gotta test on device
This commit is contained in:
@@ -56,7 +56,8 @@ const PluginView: FC = () => {
|
|||||||
<PanelSectionRow key={name}>
|
<PanelSectionRow key={name}>
|
||||||
<ButtonItem layout="below" onClick={() => setActivePlugin(name)}>
|
<ButtonItem layout="below" onClick={() => setActivePlugin(name)}>
|
||||||
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
|
<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>
|
<div>{name}</div>
|
||||||
<NotificationBadge show={updates?.has(name)} style={{ top: '-5px', right: '-5px' }} />
|
<NotificationBadge show={updates?.has(name)} style={{ top: '-5px', right: '-5px' }} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user