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 function `createEventFragment` of the `MetaMetricsController` was 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 line was updated to use `cloneDeep` prior to mutating, so that we're no longer attempting to mutate a frozen object. Fixes ##28599
- Loading branch information