mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 23:49:20 +01:00
Use a hook for the ever-updating now
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user