mirror of
https://github.com/penpot/penpot.git
synced 2026-11-01 23:50:38 +00:00
generate-update-shapes only validates changes made on a page, and it checked that with (and page-id ...) after pcb/get-page-id. The getter now asserts that a page-id was given, so the check could never be false and changes on a component container would fail on the assert instead of skipping the validation. Add pcb/has-page-id? and check it before calling the getter. AI-assisted-by: claude-opus-5-5