Use a hook for the ever-updating now
This commit is contained in:
parent
f8724e91da
commit
4e48d7792b
21 changed files with 34 additions and 78 deletions
|
@ -155,7 +155,6 @@ type PropsLocalType = {
|
|||
theme: ThemeType;
|
||||
previousItem: undefined | TimelineItemType;
|
||||
nextItem: undefined | TimelineItemType;
|
||||
now: number;
|
||||
unreadIndicatorPlacement?: undefined | UnreadIndicatorPlacement;
|
||||
};
|
||||
|
||||
|
@ -190,7 +189,6 @@ export class TimelineItem extends React.PureComponent<PropsType> {
|
|||
i18n,
|
||||
theme,
|
||||
nextItem,
|
||||
now,
|
||||
previousItem,
|
||||
renderContact,
|
||||
renderUniversalTimerNotification,
|
||||
|
@ -237,7 +235,6 @@ export class TimelineItem extends React.PureComponent<PropsType> {
|
|||
conversationId={conversationId}
|
||||
i18n={i18n}
|
||||
nextItem={nextItem}
|
||||
now={now}
|
||||
returnToActiveCall={returnToActiveCall}
|
||||
startCallingLobby={startCallingLobby}
|
||||
{...item.data}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue