AcadeDoc/apps
Corentin 38f7d73e85 fix(acadenice): hoist useDisclosure above early return — Patch 022
SpaceSidebar crashed with "Rendered more hooks than during the previous
render" because R3.6 added a useDisclosure() AFTER `if (!space) return`.
When `space` flipped from undefined (loading) to defined (loaded), the
hook count changed and React threw, triggering the Error Boundary and
blanking the page.

This single bug was the root cause of 5 reported failures (R4.7 smoke):
create page, sub-page, wikilink, /database, /template, /sync-block —
all blocked by the white screen.

Fix: hoist the hook above the conditional return. Hook order now stable.
2026-05-08 12:21:17 +02:00
..
client fix(acadenice): hoist useDisclosure above early return — Patch 022 2026-05-08 12:21:17 +02:00
extension-clipper feat(acadenice): add sync blocks for cross-page content sharing — R4.2 2026-05-08 11:40:12 +02:00
server fix(acadenice): include parent-child edges in graph + space-scope view — R4.6 2026-05-08 12:14:28 +02:00