mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-25 01:28:52 -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 }) {
|
export function UserPluginsCard({ totalUserPlugins, enabledUserPlugins }) {
|
||||||
if (totalUserPlugins <= 1)
|
if (totalUserPlugins === 0)
|
||||||
return (
|
return (
|
||||||
<div className="vc-plugin-stats vc-stockplugins-stats-card">
|
<div className="vc-plugin-stats vc-stockplugins-stats-card">
|
||||||
<div className="vc-plugin-stats-card-container ">
|
<div className="vc-plugin-stats-card-container ">
|
||||||
|
@ -41,7 +41,7 @@ export function UserPluginsCard({ totalUserPlugins, enabledUserPlugins }) {
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{(tooltipProps) => (
|
{tooltipProps => (
|
||||||
<span style={{ display: "inline", position: "relative" }}>
|
<span style={{ display: "inline", position: "relative" }}>
|
||||||
<Text variant="heading-xl/bold" {...tooltipProps}>
|
<Text variant="heading-xl/bold" {...tooltipProps}>
|
||||||
{totalUserPlugins}
|
{totalUserPlugins}
|
||||||
|
|
Loading…
Add table
Reference in a new issue