Skip to content

Commit

Permalink
remove unnecessary type extension in CustomSelect
Browse files Browse the repository at this point in the history
  • Loading branch information
ccatherinetan committed Dec 23, 2024
1 parent 888d625 commit b05c9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/CustomSelect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ interface CustomSelectProps<T> {
isContainerClickable?: boolean; // New boolean prop
}

export default function CustomSelect<T extends string | number | boolean>({
export default function CustomSelect<T>({
value,
options,
onChange,
Expand Down

0 comments on commit b05c9d8

Please sign in to comment.