diff --git a/components/dashboard/src/admin/License.tsx b/components/dashboard/src/admin/License.tsx index f2da7967cebb65..e742426c81cf73 100644 --- a/components/dashboard/src/admin/License.tsx +++ b/components/dashboard/src/admin/License.tsx @@ -50,40 +50,44 @@ export default function License() { >
- {licenseLevel} - {paid} -
Available features:
-
- {features && - features.map((feat: string) => ( - - {featureList?.includes(feat) ? ( - - ) : ( - - )} - {capitalizeInitials(feat)} - - ))} -
+ + {licenseLevel} + {paid} +
Available features:
+
+ {features && + features.map((feat: string) => ( + + {featureList?.includes(feat) ? ( + + ) : ( + + )} + {capitalizeInitials(feat)} + + ))} +
+
-
{statusMessage}
-

Registered Users

- {license?.userCount || 0} - / {userLimit} -

License Type

-

{capitalizeInitials(license?.type || "")}

- - Compare Plans -
- -
-
+ +
{statusMessage}
+

Registered Users

+ {license?.userCount || 0} + / {userLimit} +

License Type

+

{capitalizeInitials(license?.type || "")}

+ + Compare Plans +
+ +
+
+
diff --git a/components/dashboard/src/components/Card.tsx b/components/dashboard/src/components/Card.tsx index 17ced0cfa2236a..cf44669ec2b188 100644 --- a/components/dashboard/src/components/Card.tsx +++ b/components/dashboard/src/components/Card.tsx @@ -4,15 +4,16 @@ * See License-AGPL.txt in the project root for license information. */ -function Card(p: { className?: string; children?: React.ReactNode }) { +function Card(p: { className?: string; onClick?: () => void; children?: React.ReactNode }) { return (
- {p.children} + {p.children}
); } diff --git a/components/dashboard/src/components/SolidCard.tsx b/components/dashboard/src/components/SolidCard.tsx index 2f6d0fd08aff5d..85b2b0d2548612 100644 --- a/components/dashboard/src/components/SolidCard.tsx +++ b/components/dashboard/src/components/SolidCard.tsx @@ -4,15 +4,16 @@ * See License-AGPL.txt in the project root for license information. */ -function SolidCard(p: { className?: string; children?: React.ReactNode }) { +function SolidCard(p: { className?: string; onClick?: () => void; children?: React.ReactNode }) { return (
- {p.children} + {p.children}
); }