Skip to content

Commit a4e4853

Browse files
CalvinCalvin
authored andcommitted
Fix unused variable issue in CheckTypes
1 parent fc0ead0 commit a4e4853

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/BMDashboard/shared/CheckTypes.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function CheckTypes({ type }) {
138138
</tr>
139139
</thead>
140140
<tbody>
141-
{buildingInvTypes?.map((elemType, idx) => (
141+
{sortedBuildingInvTypes?.map((elemType, idx) => (
142142
<tr key={elemType._id}>
143143
<th>{idx + 1}</th>
144144
<td>{elemType.name}</td>

0 commit comments

Comments
 (0)