Skip to content

Commit 0603101

Browse files
committed
fix(mcp): correct event handler type for onInput
1 parent c4d0fc3 commit 0603101

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/settings-modal/components/mcp

1 file changed

+1
-1
lines changed

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/settings-modal/components/mcp/mcp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function FormattedInput({
176176
onChange,
177177
onScroll,
178178
}: FormattedInputProps) {
179-
const handleScroll = (e: React.UIEvent<HTMLInputElement>) => {
179+
const handleScroll = (e: { currentTarget: HTMLInputElement }) => {
180180
onScroll(e.currentTarget.scrollLeft)
181181
}
182182

0 commit comments

Comments
 (0)