mirror of
https://github.com/penpot/penpot.git
synced 2026-08-14 16:58:35 +00:00
* 🐛 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>