Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 226d1a8

Browse files
committed
Fix type of nextEvent
1 parent 447522b commit 226d1a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/structures/MessagePanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ export default class MessagePanel extends React.Component<IProps, IState> {
699699
mxEv: MatrixEvent,
700700
last = false,
701701
isGrouped = false,
702-
nextEvent?: EventAndShouldShow,
702+
nextEvent: EventAndShouldShow = null,
703703
nextEventWithTile?: MatrixEvent,
704704
): ReactNode[] {
705705
const ret: ReactNode[] = [];

0 commit comments

Comments
 (0)