Skip to content

Commit

Permalink
Rename input arg of renderDate
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-tavares committed Feb 14, 2020
1 parent 2d58030 commit 546a193
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ const FormattedDateAndTime: React.FC<{ date: Date }> = ({ date }) => {
);
};

const renderDate = (d: string, _item: PolicyData) => (
const renderDate = (date: string, _item: PolicyData) => (
<TruncateTooltipText>
<EuiToolTip content={d}>
<FormattedDateAndTime date={new Date(d)} />
<EuiToolTip content={date}>
<FormattedDateAndTime date={new Date(date)} />
</EuiToolTip>
</TruncateTooltipText>
);
Expand Down

0 comments on commit 546a193

Please sign in to comment.