mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 08:19:13 +00:00
Previously, `addGlobalNotice` would have to be called before the GlobalNotice component was rendered. By using a TrackedArray, we can improve that so that plugins can call the function at any time and the notice will be rendered immediately