diff --git a/lib/Donors/DonorsList.js b/lib/Donors/DonorsList.js index 5d9316fd..49a3e44a 100644 --- a/lib/Donors/DonorsList.js +++ b/lib/Donors/DonorsList.js @@ -5,7 +5,6 @@ import { MultiColumnList } from '@folio/stripes/components'; import { alignRowProps, defaultColumnMapping, - defaultFormatter, defaultVisibleColumns, } from './constants'; @@ -41,6 +40,5 @@ DonorsList.propTypes = { DonorsList.defaultProps = { columnMapping: defaultColumnMapping, - formatter: defaultFormatter, visibleColumns: defaultVisibleColumns, }; diff --git a/lib/Donors/constants.js b/lib/Donors/constants.js index 87ba62be..f145e44a 100644 --- a/lib/Donors/constants.js +++ b/lib/Donors/constants.js @@ -1,4 +1,3 @@ -import { TextLink } from '@folio/stripes/components'; import { FormattedMessage } from 'react-intl'; export const defaultColumnMapping = { @@ -12,11 +11,6 @@ export const defaultVisibleColumns = [ 'code', ]; -export const defaultFormatter = { - name: donor => {donor.name}, - code: donor => donor.code, -}; - export const alignRowProps = { alignLastColToEnd: true }; export const modalLabel = ;