Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix create/update metric fragment
The functions `createEventFragment` and `updateEventFragment` of the MetaMetricsController were broken recently in the migration to BaseControllerV2 (#28113). We ended up trying to mutate a piece of Immer state, resulting in an error. The affected lines were updated to use `cloneDeep` prior to mutating, so that we're no longer attempting to mutate a frozen object. Fixes ##28599
- Loading branch information