AcadeDoc/apps/client/src
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
..
assets switch to nx monorepo 2024-01-09 18:58:26 +01:00
components feat(acadedoc): add AcadeDoc branding, Brevo SMTP preset, UI customization — R4.4 2026-05-08 11:36:38 +02:00
ee fix: a11y 2026-05-04 23:04:26 +01:00
features fix(acadenice): hoist useDisclosure above early return — Patch 022 2026-05-08 12:21:17 +02:00
hooks feat: favorites (#2103) 2026-04-12 22:06:25 +01:00
lib refactor(acadedoc): move branding from .env to UI-only — Patch 020 2026-05-08 11:49:49 +02:00
pages fix(acadenice): include parent-child edges in graph + space-scope view — R4.6 2026-05-08 12:14:28 +02:00
theme refactor(acadedoc): move branding from .env to UI-only — Patch 020 2026-05-08 11:49:49 +02:00
App.tsx fix(acadenice): include parent-child edges in graph + space-scope view — R4.6 2026-05-08 12:14:28 +02:00
i18n.ts feat(editor): audio and PDF nodes (#2064) 2026-03-28 17:33:29 +00:00
main.tsx feat(acadedoc): add AcadeDoc branding, Brevo SMTP preset, UI customization — R4.4 2026-05-08 11:36:38 +02:00
test-setup.ts fix(acadenice): resolve test suite failures across R3 sub-blocks (Patch 017) 2026-05-08 10:36:19 +02:00
theme.ts feat: A11y fixes (#2148) 2026-05-04 21:21:37 +01:00
vite-env.d.ts Show version 2024-09-01 17:30:34 +01:00