onDestroy
Cleanup method called when the component is being destroyed. Resets selection state and clears nearby properties to prevent stale data on re-login.
Cleanup method called when the component is being destroyed. Resets selection state and clears nearby properties to prevent stale data on re-login.