Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
eslint: Fix unicorn/no-useless-spread.
Anders Kaseorg5aee327d014c
diff --git a/web/src/reactions.ts b/web/src/reactions.tsindex caad8a8f451..a602f34ac9e 100644--- a/web/src/reactions.ts+++ b/web/src/reactions.ts@@ -661,14 +661,14 @@ export function update_user_fields(// who reacted on a message might have changed, including due to// upvote/downvotes on ANY reaction in the message, because those// can change the correct value of should_display_reactors to use.- Object.assign(clean_reaction_object, {- ...clean_reaction_object,- ...build_reaction_data(+ Object.assign(+ clean_reaction_object,+ build_reaction_data(clean_reaction_object.user_ids,clean_reaction_object.emoji_name,should_display_reactors,),- });+ );}type ReactionUserIdAndCount = {