MCPcopy Create free account
hub / github.com/evolify/dumpfun / onTableScroll

Function onTableScroll

common/hooks/table.ts:80–84  ·  view source on GitHub ↗
(e: Event)

Source from the content-addressed store, hash-verified

78 }
79
80 function onTableScroll(e: Event) {
81 if (!fixedHeaderRef.current) return
82 fixedHeaderRef.current.scrollLeft =
83 tableRef.current?.parentElement?.scrollLeft ?? 0
84 }
85
86 useEffect(() => {
87 if (!tableRef.current) return

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected