<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

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;
});
};