Skip to content

Commit

Permalink
chore: use correct function args
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheartman committed Jan 19, 2024
1 parent 4545bc4 commit 4d0e19b
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,9 @@ export const StrategyChange: VFC<{
isStrategyAction &&
hasDiff(currentStrategy?.variants || [], change.payload.variants || []);

const changesThatWouldBeOverwritten =
const changesThatWouldBeOverwritten =
checkForChanges && change.action === 'updateStrategy'
? getChangesThatWouldBeOverwritten({
currentStrategyConfig: currentStrategy,
change,
})
? getChangesThatWouldBeOverwritten(currentStrategy, change)
: null;

return (
Expand Down

0 comments on commit 4d0e19b

Please sign in to comment.