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

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
Signed-off-by: Kerry Archibald <kerrya@element.io>
  • Loading branch information
Kerry Archibald committed Dec 17, 2021
1 parent 05d097f commit 8c314d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/components/views/messages/DateSeparator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ interface IProps {

@replaceableComponent("views.messages.DateSeparator")
export default class DateSeparator extends React.Component<IProps> {
// use defaultProp for now to make testing easier
public static defaultProps = {
now: new Date(),
};
Expand Down
1 change: 0 additions & 1 deletion test/skinned-sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ components['structures.RoomDirectory'] = stubComponent();
components['views.globals.GuestWarningBar'] = stubComponent();
components['views.globals.NewVersionBar'] = stubComponent();
components['views.elements.Spinner'] = stubComponent({ displayName: 'Spinner' });
// components['views.messages.DateSeparator'] = stubComponent({ displayName: 'DateSeparator' });
components['views.messages.MessageTimestamp'] = stubComponent({ displayName: 'MessageTimestamp' });
components['views.messages.SenderProfile'] = stubComponent({ displayName: 'SenderProfile' });
components['views.rooms.SearchBar'] = stubComponent();
Expand Down

0 comments on commit 8c314d3

Please sign in to comment.