diff --git a/src/components/PackageDashboard/PackageTable.js b/src/components/PackageDashboard/PackageTable.js index bda905c..7d9decf 100644 --- a/src/components/PackageDashboard/PackageTable.js +++ b/src/components/PackageDashboard/PackageTable.js @@ -3,8 +3,7 @@ import ReactTable from 'react-table'; import ReactGA from 'react-ga'; import PropTypes from 'prop-types'; import Moment from 'moment'; -import { Row, Col, Button } from 'reactstrap'; -import { getStateDisplayText } from './stateDisplayHelper'; +import { Row, Col } from 'reactstrap'; import { faDownload } from '@fortawesome/free-solid-svg-icons'; import { CSVLink } from 'react-csv'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; @@ -15,7 +14,6 @@ const PACKAGE_TYPE_LABEL = 'Package Type'; const SUBMITTER_LABEL = 'Submitter'; const TIS_NAME_LABEL = 'TIS Name'; const DATE_SUBMITTED_LABEL = 'Date Submitted'; -const PACKAGE_STATE_LABEL = 'Package State'; const SUBJECT_ID_LABEL = 'Subject Id'; const GLOBUS_LINK_LABEL = 'Globus Link'; const MOVE_PACKAGE_FILES_LABEL = 'Move Files to DLU'; diff --git a/src/components/PackageDashboard/packageReducer.js b/src/components/PackageDashboard/packageReducer.js index 46edcb4..7828962 100644 --- a/src/components/PackageDashboard/packageReducer.js +++ b/src/components/PackageDashboard/packageReducer.js @@ -1,7 +1,4 @@ -import actionNames from '../../actions/actionNames'; - export const packages = (state = [], action) => { - let newState = []; switch (action.type) { default: