diff --git a/src/components/PluginSettings/PluginStatCards.tsx b/src/components/PluginSettings/PluginStatCards.tsx index 6423a939..93afe418 100644 --- a/src/components/PluginSettings/PluginStatCards.tsx +++ b/src/components/PluginSettings/PluginStatCards.tsx @@ -27,33 +27,46 @@ export function StockPluginsCard({ totalStockPlugins, enabledStockPlugins }) { } export function UserPluginsCard({ totalUserPlugins, enabledUserPlugins }) { - if (totalUserPlugins <= 1) return ( -
-
-
- Total UserPlugins - }> - {tooltipProps => ( - {totalUserPlugins} - )} - + if (totalUserPlugins <= 1) + return ( +
+
+
+ Total UserPlugins + + } + > + {tooltipProps => ( + + + {totalUserPlugins} + + + )} + +
-
- ); - else return ( -
-
-
- Enabled UserPlugins - {enabledUserPlugins} -
-
-
- Total UserPlugins - {totalUserPlugins} + ); + else + return ( +
+
+
+ Enabled UserPlugins + {enabledUserPlugins} +
+
+
+ Total UserPlugins + {totalUserPlugins} +
-
- ); + ); }