From 081990fb242240329687964a855fc89f9822f5d7 Mon Sep 17 00:00:00 2001 From: cocobo1 Date: Sun, 12 Oct 2025 22:40:00 +0200 Subject: [PATCH] fixx(ui): fix bug --- .../ui/settings/pages/Plugins/components/PluginCard.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/core/ui/settings/pages/Plugins/components/PluginCard.tsx b/src/core/ui/settings/pages/Plugins/components/PluginCard.tsx index e98fba6..daf3bb1 100644 --- a/src/core/ui/settings/pages/Plugins/components/PluginCard.tsx +++ b/src/core/ui/settings/pages/Plugins/components/PluginCard.tsx @@ -147,11 +147,10 @@ export default function PluginCard({ }: CardWrapper) { plugin.usePluginState(); - const [, forceUpdate] = React.useReducer(() => ({}), 0); - const cardContextValue = useMemo( - () => ({ plugin, result }), - [plugin, result], - ); + +const [, forceUpdate] = React.useReducer(() => ({}), 0); +const cardContextValue = useMemo(() => ({ plugin, result }), [plugin, result]); + const core = isCorePlugin(plugin.id); return (