mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 11:23:48 -05:00
Includes the following: Guard for adding duplicate classNames Stops the code that allows classNames to persist across updates to the component HTML from adding a className multiple times to the list of those to persist. From this comment on the associated pull request: https://github.com/alphagov/notifications-admin/pull/4155#discussion_r804639058 Add comment explaining guard for operations on elements no longer in the DOM The value of this guard can be unclear and why it is needed so we add a comment to explain this. From this comment on the associated pull request: https://github.com/alphagov/notifications-admin/pull/4155#discussion_r804697189