Remove React Virtualized from <Timeline>

This commit is contained in:
Evan Hahn
2022-03-03 14:23:10 -06:00
committed by GitHub
parent 1eafe79905
commit 0c31ad25ef
40 changed files with 798 additions and 2512 deletions
+3
View File
@@ -27,6 +27,7 @@ type ExternalProps = {
messageId: string;
nextMessageId: undefined | string;
previousMessageId: undefined | string;
now: number;
};
function renderContact(conversationId: string): JSX.Element {
@@ -45,6 +46,7 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
messageId,
nextMessageId,
previousMessageId,
now,
} = props;
const messageSelector = getMessageSelector(state);
@@ -66,6 +68,7 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
item,
previousItem,
nextItem,
now,
id: messageId,
containerElementRef,
conversationId,