fix type error

This commit is contained in:
Vikhyath Mondreti
2026-04-10 10:01:16 -07:00
parent 734a4d1f5b
commit e2b4eb370d

View File

@@ -702,8 +702,8 @@ function TextEditor({
const el = (shouldUseCodeRenderer ? codeScrollRef.current : textareaRef.current) ?? null
if (!el) return
const onWheel = (e: WheelEvent) => {
if (e.deltaY < 0) textareaStuckRef.current = false
const onWheel = (e: Event) => {
if ((e as WheelEvent).deltaY < 0) textareaStuckRef.current = false
}
const onScroll = () => {