change exports to default to retain compatibility with existing imports

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2018-01-14 18:41:44 +00:00
parent b65fdf6ab0
commit f97395f40f
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ function getdaysArray() {
]; ];
} }
export class DateSeparator extends React.Component { export default class DateSeparator extends React.Component {
static propTypes = { static propTypes = {
ts: PropTypes.number.isRequired, ts: PropTypes.number.isRequired,
}; };

View File

@ -19,7 +19,7 @@ import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import {formatFullDate, formatTime} from 'matrix-react-sdk/lib/DateUtils'; import {formatFullDate, formatTime} from 'matrix-react-sdk/lib/DateUtils';
export class MessageTimestamp extends React.Component { export default class MessageTimestamp extends React.Component {
static propTypes = { static propTypes = {
ts: PropTypes.number.isRequired, ts: PropTypes.number.isRequired,
showTwelveHour: PropTypes.bool, showTwelveHour: PropTypes.bool,