Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
peter6866 committed Jun 6, 2024
1 parent 69a9ab9 commit 0b97e1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/BMDashboard/ItemList/RecordsModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ export function Record({ record, recordType }) {
</thead>
<tbody>
{record?.purchaseRecord && record?.purchaseRecord.length ? (
record.map(({ date, status, brandPref, priority, quantity, requestedBy }) => {
record.map(({ _id, date, status, brandPref, priority, quantity, requestedBy }) => {
return (
<tr key={data._id}>
<tr key={_id}>
<td>{priority}</td>
<td>{brandPref}</td>
<td>{quantity || '-'}</td>
Expand Down

0 comments on commit 0b97e1f

Please sign in to comment.