# Change single instance of icon

**URL:** <https://meta.discourse.org/t/change-single-instance-of-icon/336356>\
**Category:** Feature\
**Created:** [November 15, 2024, 3:31pm UTC](https://meta.discourse.org/t/change-single-instance-of-icon/336356 "2024-11-15T15:31:56Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [May 15, 2025, 8:50pm UTC](https://meta.discourse.org/t/change-single-instance-of-icon/336356/13 "2025-05-15T20:50:21Z")

</div>

This could end up a little flaky.

I believe api.onPageChange is firing on the route change.

That’s well before rendering.

Therefore there’s a risk the elements won’t be rendered before you attempt to find and override them.

You may be lucky but it’s not guaranteed. Hence awesomerobot raising that it would be nice if there was a dedicated api …

(@Don your solution has a similar issue I believe)

---

_[View the full topic](https://meta.discourse.org/t/change-single-instance-of-icon/336356)._
