MetaMask / core

This monorepo is a collection of packages used across multiple MetaMask clients
MIT License
287 stars 183 forks source link

fix(NOTIFY-1166): only fire callback when account name has changed #4735

Closed mathieuartu closed 1 week ago

mathieuartu commented 1 week ago

Explanation

This PR ensures the onAccountNameUpdated callback only fires when the new name is different from the previous one

References

NOTIFY-1166

Changelog

@metamask/profile-sync-controller

Checklist