penpot/frontend
Andrey Antukh 6ee8184821
🐛 Fix error when creating guides without frame (#8598)
* 🐛 Fix error when creating guides without frame

The error 'Cannot read properties of undefined (reading
$cljs$core$IFn$_invoke$arity$0$)' occurred when creating a new
guide. It is probably a race condition because it is not reproducible
from the user point of view.

The cause is mainly because of use incorrect jsx handler :& where :>
should be used. This caused that some props pased with incorrect casing
and the relevant callback props received as nil on the component and
on the use-guide hook.

The fix is simple: use correct jsx handler

Signed-off-by: Andrey Antukh <niwi@niwi.nz>

* 💄 Add cosmetic changes to viewport guides components

---------

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
2026-03-12 12:23:09 +01:00
..
2024-12-23 10:03:10 +01:00
2026-01-22 13:55:41 +01:00
2026-02-26 12:19:15 +01:00
2026-02-13 13:17:08 +01:00
2025-12-23 13:10:58 +01:00
2026-02-24 00:07:30 +01:00
2026-02-10 08:29:24 +01:00
2025-11-05 17:15:19 +01:00