From 8dd1423440bb614e80239ddda83df7c736755c63 Mon Sep 17 00:00:00 2001 From: Beef Date: Wed, 11 Jan 2023 22:56:57 +0000 Subject: [PATCH] [UI > PluginCard] Revert using state variables --- src/ui/settings/components/PluginCard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/settings/components/PluginCard.tsx b/src/ui/settings/components/PluginCard.tsx index 740a977..07f0e55 100644 --- a/src/ui/settings/components/PluginCard.tsx +++ b/src/ui/settings/components/PluginCard.tsx @@ -53,7 +53,7 @@ export default function PluginCard({ plugin }: PluginCardProps) { leading={} trailing={ { if (v) startPlugin(plugin.id); else stopPlugin(plugin.id); setEnabled(v); @@ -80,7 +80,7 @@ export default function PluginCard({ plugin }: PluginCardProps) { setUpdate(plugin.update); }} > - + {getSettings(plugin.id) && showSettings(plugin)}>