Skip to content

Commit

Permalink
specify event type for onChange
Browse files Browse the repository at this point in the history
  • Loading branch information
lauterb committed Apr 7, 2024
1 parent 2aaad93 commit 228af9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CorpusSearch/ClientApp/src/routes/BitPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function Video({vId="rLEBp8R1_XA"}) {
const player = event.target
setPtime(player.getCurrentTime())
}
const onChange = (e) => {
const onChange = (e: React.ChangeEvent<HTMLInputElement>) => {
setVideoId(e.target.value)
}

Expand Down

0 comments on commit 228af9e

Please sign in to comment.