Skip to content

Commit e2b4eb3

Browse files
committed
fix type error
1 parent 734a4d1 commit e2b4eb3

File tree

1 file changed

+2
-2
lines changed
  • apps/sim/app/workspace/[workspaceId]/files/components/file-viewer

1 file changed

+2
-2
lines changed

apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/file-viewer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,8 +702,8 @@ function TextEditor({
702702
const el = (shouldUseCodeRenderer ? codeScrollRef.current : textareaRef.current) ?? null
703703
if (!el) return
704704

705-
const onWheel = (e: WheelEvent) => {
706-
if (e.deltaY < 0) textareaStuckRef.current = false
705+
const onWheel = (e: Event) => {
706+
if ((e as WheelEvent).deltaY < 0) textareaStuckRef.current = false
707707
}
708708

709709
const onScroll = () => {

0 commit comments

Comments
 (0)