diff --git a/src/components/ActivitySelect.tsx b/src/components/ActivitySelect.tsx index 698ace8..bc5d2d5 100644 --- a/src/components/ActivitySelect.tsx +++ b/src/components/ActivitySelect.tsx @@ -28,7 +28,7 @@ export const ACTIVITIES = [ ]; interface ActivitySelectProps { - value: Option; + value: Option | null; onChange: (value: Option) => void; className?: string; } @@ -38,7 +38,9 @@ const ActivitySelect = ({ onChange, className, }: ActivitySelectProps) => { - const [selected, setSelected] = useState