mirror of
https://github.com/penpot/penpot.git
synced 2026-11-18 16:12:24 +00:00
When a peer restored an autosaved version, the notice said "restored an earlier version" instead of naming it by its date and time. The modal wrapper passes the props map to the component without camelCasing its keys, so the `created-at` prop reached the component as "created-at" while it read `createdAt`, and the date was always nil. Named versions were fine because `label` is one word. The prop is now `date`, and a test renders the registered modal the way the wrapper does. Closes #13037 AI-assisted-by: claude-opus-5-5