diff --git a/src/components/SelectableCard.tsx b/src/components/SelectableCard.tsx index 943f6181b33..6c9f8573189 100644 --- a/src/components/SelectableCard.tsx +++ b/src/components/SelectableCard.tsx @@ -34,7 +34,7 @@ export interface IProps { className?: string onSelect: (val: string) => void value: string - isSelected: boolean + isSelected?: boolean } const Card: React.FC = ({ @@ -45,7 +45,7 @@ const Card: React.FC = ({ className, onSelect, value, - isSelected, + isSelected = false, }) => { const handleSelect = () => { onSelect(value)