mirror of
https://github.com/docmost/docmost.git
synced 2026-07-08 16:54:38 +10:00
8132b171f4
useEffect ran once on mount with empty deps, but the wrapper div was inside a conditional branch that only renders after the base query resolves. Result: the ref was null when the effect ran, so nothing extended. Move the wrapper outside the conditional so the ref is always set, and re-run the effect when isLoading / isError / pageId change so the extension applies once the table mounts.