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

MM-17555 Finish upgrading react-intl #4615

Merged
merged 16 commits into from
Jan 16, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into mm17555-final
  • Loading branch information
hmhealey committed Jan 10, 2020
commit e1b39fa1253d38bf385465a5704221029d08b261
8 changes: 6 additions & 2 deletions components/recent_date.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@
// See LICENSE.txt for license information.

import React from 'react';
import {FormattedMessage} from 'react-intl';
import {
FormattedMessage,
injectIntl,
IntlShape,
} from 'react-intl';
import moment from 'moment-timezone';

type Props = {
timeZone?: string;
value: number | Date;
children?(val: string): React.ReactElement | null;
intl: any; // TODO This needs to be replaced with IntlShape once react-intl is upgraded
intl: IntlShape;
}

class RecentDate extends React.PureComponent<Props> {
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.