Package cleanup & transition to latest apollo.
This commit is contained in:
@@ -7,9 +7,9 @@ import {
|
||||
import { Button, Table } from "antd";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import Moment from "react-moment";
|
||||
import { connect } from "react-redux";
|
||||
import { setModalContext } from "../../redux/modals/modals.actions";
|
||||
import { DateTimeFormatter } from "../../utils/DateFormatter";
|
||||
import NoteUpsertModal from "../note-upsert-modal/note-upsert-modal.container";
|
||||
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
@@ -58,9 +58,7 @@ export function JobNotesComponent({
|
||||
width: 200,
|
||||
sorter: (a, b) => new Date(a.updated_at) - new Date(b.updated_at),
|
||||
render: (text, record) => (
|
||||
<span>
|
||||
<Moment format="MM/DD/YYYY @ HH:mm">{record.updated_at}</Moment>
|
||||
</span>
|
||||
<DateTimeFormatter>{record.updated_at}</DateTimeFormatter>
|
||||
),
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user