mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 11:52:39 +08:00

Custom sidebar link willDestroy function has to be passed to SidebarLink component to call when component is removed. Very similar to https://github.com/discourse/discourse/pull/17551