diff --git a/frontend/src/components/StatefulDemo.tsx b/frontend/src/components/StatefulDemo.tsx index 3d32087..35d5d01 100644 --- a/frontend/src/components/StatefulDemo.tsx +++ b/frontend/src/components/StatefulDemo.tsx @@ -1,9 +1,9 @@ import Badge from "@/components/Badge"; -import { plural } from "@/util"; +import { cn, plural, type ClassValue } from "@/util"; import { useState } from "preact/hooks"; type StatefulDemoProps = { - class?: string; + class?: ClassValue; }; type SessionData = { @@ -18,7 +18,7 @@ const StatefulDemo = ({ class: className }: StatefulDemoProps) => { }); return ( -
This demo uses websockets to communicate between the server and the browser. Each download gets a unique identifier bound to the user