`<Message>`: avoid state change when cleaning up reaction root elements

This commit is contained in:
Evan Hahn 2022-02-28 15:42:51 -06:00 committed by GitHub
parent 0260e61348
commit 9b269cb43f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1894,7 +1894,7 @@ export class Message extends React.PureComponent<Props, State> {
};
}
return { reactionViewerRoot: null };
return null;
});
};
@ -1925,7 +1925,7 @@ export class Message extends React.PureComponent<Props, State> {
};
}
return { reactionPickerRoot: null };
return null;
});
};