mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-03 20:36:57 +03:00
change exports to default to retain compatibility with existing imports
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
b65fdf6ab0
commit
f97395f40f
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ function getdaysArray() {
|
|||
];
|
||||
}
|
||||
|
||||
export class DateSeparator extends React.Component {
|
||||
export default class DateSeparator extends React.Component {
|
||||
static propTypes = {
|
||||
ts: PropTypes.number.isRequired,
|
||||
};
|
||||
|
|
|
@ -19,7 +19,7 @@ import React from 'react';
|
|||
import PropTypes from 'prop-types';
|
||||
import {formatFullDate, formatTime} from 'matrix-react-sdk/lib/DateUtils';
|
||||
|
||||
export class MessageTimestamp extends React.Component {
|
||||
export default class MessageTimestamp extends React.Component {
|
||||
static propTypes = {
|
||||
ts: PropTypes.number.isRequired,
|
||||
showTwelveHour: PropTypes.bool,
|
||||
|
|
Loading…
Reference in a new issue