diff --git a/src/components/PluginSettings/PluginStatCards.tsx b/src/components/PluginSettings/PluginStatCards.tsx index 93afe418..ba2207bc 100644 --- a/src/components/PluginSettings/PluginStatCards.tsx +++ b/src/components/PluginSettings/PluginStatCards.tsx @@ -9,64 +9,64 @@ import "./styles.css"; import { Text, Tooltip } from "@webpack/common"; export function StockPluginsCard({ totalStockPlugins, enabledStockPlugins }) { - return ( -
-
-
- Enabled Plugins - {enabledStockPlugins} -
-
-
- Total Plugins - {totalStockPlugins} -
-
+ return ( +
+
+
+ Enabled Plugins + {enabledStockPlugins}
- ); +
+
+ Total Plugins + {totalStockPlugins} +
+
+
+ ); } export function UserPluginsCard({ totalUserPlugins, enabledUserPlugins }) { - if (totalUserPlugins <= 1) - return ( -
-
-
- Total UserPlugins - - } - > - {tooltipProps => ( - - - {totalUserPlugins} - - - )} - -
-
-
- ); - else - return ( -
-
-
- Enabled UserPlugins - {enabledUserPlugins} -
-
-
- Total UserPlugins - {totalUserPlugins} -
-
-
- ); + if (totalUserPlugins <= 1) + return ( +
+
+
+ Total Userplugins + + } + > + {(tooltipProps) => ( + + + {totalUserPlugins} + + + )} + +
+
+
+ ); + else + return ( +
+
+
+ Enabled Userplugins + {enabledUserPlugins} +
+
+
+ Total Userplugins + {totalUserPlugins} +
+
+
+ ); }