mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-29 00:38:03 -05:00
fix(mcp): correct event handler type for onInput
This commit is contained in:
@@ -176,7 +176,7 @@ function FormattedInput({
|
||||
onChange,
|
||||
onScroll,
|
||||
}: FormattedInputProps) {
|
||||
const handleScroll = (e: React.UIEvent<HTMLInputElement>) => {
|
||||
const handleScroll = (e: { currentTarget: HTMLInputElement }) => {
|
||||
onScroll(e.currentTarget.scrollLeft)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user