Skip to content

Build your personal knowledge base with Trilium Notes

ui/cards: fix attribute name

Adorian Doran7551d0e04437
diff --git a/apps/client/src/widgets/react/Card.tsx b/apps/client/src/widgets/react/Card.tsx
index 01b40ee306..224a151504 100644
--- a/apps/client/src/widgets/react/Card.tsx
+++ b/apps/client/src/widgets/react/Card.tsx
@@ -12,7 +12,7 @@ export interface CardProps {
}
export function Card(props: {children: ComponentChildren} & CardProps) {
- return <div class={clsx("tn-card", props.className)}>
+ return <div className={clsx("tn-card", props.className)}>
{props.heading && <h5 class="tn-card-heading">{props.heading}</h5>}
<div className="tn-card-body">
{props.children}