mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
64d7c73b00
refs https://github.com/TryGhost/Product/issues/3832 --- ### <samp>🤖 Generated by Copilot at eaad533</samp> Refactored the code for modal components in the admin-x-settings app to improve performance, readability, type-safety, and compatibility. Used dynamic import, default import, `import.meta.glob`, and type aliases to simplify the logic of importing and rendering modal components. Applied the type alias `RoutingModalProps` to all modal components to ensure consistent and safe props. |
||
---|---|---|
.. | ||
admin-x-settings | ||
announcement-bar | ||
comments-ui | ||
portal | ||
signup-form | ||
sodo-search |