Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
fix: select type
Browse files Browse the repository at this point in the history
  • Loading branch information
galenwinsor committed Jul 1, 2024
1 parent 9842f94 commit b9d4774
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Publications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const PublicationSection: React.FC<PubProps> = ({ publications }) => {
] as const

const [searchInput, setSearchInput] = useState("")
const [classificationFilter, setClassificationFilter] = useState(classificationOptions)
const [classificationFilter, setClassificationFilter] =
useState<Readonly<{ value: Classification; label: string }[]>>(classificationOptions)
const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {
e.preventDefault()
setSearchInput(e.target.value)
Expand Down

0 comments on commit b9d4774

Please sign in to comment.