Skip to content

Commit

Permalink
Format events.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonrobot committed Jan 30, 2024
1 parent 92a654a commit 13ea431
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/victory-core/src/victory-util/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ export function getScopedEvents(
[key]: Object.assign(state[key] || {}, mutatedProps),
})
: Object.assign(state, {
[key]: Object.assign(state[key] || {}, { [target]: mutatedProps }),
[key]: Object.assign(state[key] || {}, {
[target]: mutatedProps,
}),
});
};

Expand Down

0 comments on commit 13ea431

Please sign in to comment.