diff --git a/src/components/dashboard/loan-history/Form/HistoryForm/TableContent.jsx b/src/components/dashboard/loan-history/Form/HistoryForm/TableContent.jsx index d9382a1..0bc4e00 100644 --- a/src/components/dashboard/loan-history/Form/HistoryForm/TableContent.jsx +++ b/src/components/dashboard/loan-history/Form/HistoryForm/TableContent.jsx @@ -74,8 +74,10 @@ const TableContent = ({rowId}) => { {historyDetails.state_name} {historyDetails.latest_histories[0].expert_description} - {historyDetails.latest_histories[0].attachments.map(attachment => )} + {historyDetails.latest_histories[0].attachments.map((attachment, index) => + )} {historyDetails.latest_histories.map((latest_history, index) => { @@ -96,7 +98,8 @@ const TableContent = ({rowId}) => { {latest_history.previous_state_name} {_expert_description} - {_attachments.map(attachment => )} + {_attachments.map((attachment, index) => )} ) })}