Skip to content

task solution#2724

Open
TenetaJ wants to merge 2 commits intomate-academy:masterfrom
TenetaJ:develop
Open

task solution#2724
TenetaJ wants to merge 2 commits intomate-academy:masterfrom
TenetaJ:develop

Conversation

@TenetaJ
Copy link

@TenetaJ TenetaJ commented Aug 26, 2023

No description provided.

@witflash witflash self-requested a review August 27, 2023 12:23
Copy link

@witflash witflash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done 👍

Comment on lines +10 to +12
for (const key in action.extraData) {
state[key] = action.extraData[key];
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just use Object.assign to merge two objects.

@TenetaJ TenetaJ requested a review from witflash August 28, 2023 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants