Skip to content

Commit 0d16abe

Browse files
committed
Cleanup
1 parent a68f9cc commit 0d16abe

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

components/dashboard/src/admin/License.tsx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ export default function License() {
3333
// eslint-disable-next-line react-hooks/exhaustive-deps
3434
}, []);
3535

36-
const featureList = license?.enabledFeatures;
37-
const features = license?.features;
38-
3936
// if user seats is 0, it means that there is no user limit in the license
4037
const userLimit = license?.seats === 0 ? "Unlimited" : license?.seats;
4138

@@ -49,20 +46,6 @@ export default function License() {
4946
<span>
5047
{licenseLevel}
5148
{paid}
52-
<div className="mt-4 font-semibold text-sm">Available features:</div>
53-
<div className="flex flex-col items-start text-sm">
54-
{features &&
55-
features.map((feat: string) => (
56-
<span className="inline-flex space-x-1">
57-
{featureList?.includes(feat) ? (
58-
<CheckSvg fill="currentColor" className="self-center mt-1" />
59-
) : (
60-
<XSvg fill="currentColor" className="self-center h-2 mt-1" />
61-
)}
62-
<span>{capitalizeInitials(feat)}</span>
63-
</span>
64-
))}
65-
</div>
6649
</span>
6750
</Card>
6851
<SolidCard className="w-72 h-64">

0 commit comments

Comments
 (0)