mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-24 17:19:00 -05:00
Fix Userplugincard error
This commit is contained in:
parent
fbc42076eb
commit
a92bae80e0
3 changed files with 58 additions and 58 deletions
|
@ -27,7 +27,7 @@ export function StockPluginsCard({ totalStockPlugins, enabledStockPlugins }) {
|
|||
}
|
||||
|
||||
export function UserPluginsCard({ totalUserPlugins, enabledUserPlugins }) {
|
||||
if (totalUserPlugins <= 1)
|
||||
if (totalUserPlugins === 0)
|
||||
return (
|
||||
<div className="vc-plugin-stats vc-stockplugins-stats-card">
|
||||
<div className="vc-plugin-stats-card-container ">
|
||||
|
@ -41,7 +41,7 @@ export function UserPluginsCard({ totalUserPlugins, enabledUserPlugins }) {
|
|||
/>
|
||||
}
|
||||
>
|
||||
{(tooltipProps) => (
|
||||
{tooltipProps => (
|
||||
<span style={{ display: "inline", position: "relative" }}>
|
||||
<Text variant="heading-xl/bold" {...tooltipProps}>
|
||||
{totalUserPlugins}
|
||||
|
|
Loading…
Add table
Reference in a new issue