onChange(e.target.value)}
/>
+
onChange(e.target.value)}
diff --git a/src/components/editor/FontSelector.tsx b/src/components/editor/FontSelector.tsx
index 4aa2d2f..17dd912 100644
--- a/src/components/editor/FontSelector.tsx
+++ b/src/components/editor/FontSelector.tsx
@@ -1,3 +1,5 @@
+import { useId } from 'react';
+
interface FontSelectorProps {
label: string;
value: string;
@@ -12,12 +14,17 @@ const defaultFontOptions = [
];
export function FontSelector({ label, value, onChange, options }: FontSelectorProps) {
+ const id = useId();
const opts = options || defaultFontOptions;
return (
-
+
+