mirror of
https://github.com/zhigang1992/react-native-gifted-chat.git
synced 2026-04-28 20:25:43 +08:00
Merge pull request #605 from doomsower/fix-moment-with-locales
Replace moment-with-locales.min with regular moment
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
||||
ViewPropTypes,
|
||||
} from 'react-native';
|
||||
|
||||
import moment from 'moment/min/moment-with-locales.min';
|
||||
import moment from 'moment';
|
||||
|
||||
import { isSameDay, isSameUser, warnDeprecated } from './utils';
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
} from 'react-native';
|
||||
|
||||
import ActionSheet from '@expo/react-native-action-sheet';
|
||||
import moment from 'moment/min/moment-with-locales.min';
|
||||
import moment from 'moment';
|
||||
import uuid from 'uuid';
|
||||
|
||||
import * as utils from './utils';
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
ViewPropTypes,
|
||||
} from 'react-native';
|
||||
|
||||
import moment from 'moment/min/moment-with-locales.min';
|
||||
import moment from 'moment';
|
||||
|
||||
export default class Time extends React.Component {
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user