mirror of
https://github.com/penpot/penpot.git
synced 2026-08-10 06:48:49 +00:00
Add `project-id` to the guard condition in `use-plugin-register`'s layout effect so the plugin "Try out" flow waits until projects have loaded. Previously, only `plugin-url` was checked, which allowed the fetch to fire before projects were available, sending a nil `project-id` and causing a 400 validation error from the backend. AI-assisted-by: mimo-v2.5-pro