MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / updateSize

Function updateSize

packages/app-core/src/components/NoteList.tsx:142–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140 if (!node) return
141
142 const updateSize = (): void => {
143 setListViewportHeight(node.clientHeight)
144 setListScrollTop(node.scrollTop)
145 }
146
147 updateSize()
148 if (typeof ResizeObserver === 'undefined') return

Callers 1

NoteListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected