Skip to content

Commit

Permalink
Take out YouTubeProps from onChange
Browse files Browse the repository at this point in the history
Eslint was complaining about something related to this. By taking this out maybe it will tell me another directive to use
  • Loading branch information
lauterb committed Apr 7, 2024
1 parent 6183b94 commit 2aaad93
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 : YouTubeProps["onStateChange"] = (e) => {
const onChange = (e) => {
setVideoId(e.target.value)
}

Expand Down

0 comments on commit 2aaad93

Please sign in to comment.