diff --git a/src/components/TaskPreviewCell.js b/src/components/TaskPreviewCell.js index 6ce6b88..2aed476 100644 --- a/src/components/TaskPreviewCell.js +++ b/src/components/TaskPreviewCell.js @@ -5,9 +5,7 @@ function TaskPreviewCell({ formatterIndex, itemData, incomingData, formatter, jsonExt, setAdditionalData, }) { const showHistorical = (itemIncomingData) => { - if (formatter(itemData, jsonExt, formatterIndex, setAdditionalData) - === formatter(itemIncomingData, jsonExt, formatterIndex, setAdditionalData) - || !formatter(itemIncomingData, jsonExt, formatterIndex, setAdditionalData)) { + if (!formatter(itemIncomingData, jsonExt, formatterIndex, setAdditionalData)) { return HYPHEN; } return formatter(itemIncomingData, jsonExt, formatterIndex, setAdditionalData);