added family update component

This commit is contained in:
victorAnumudu
2023-10-23 12:17:32 +01:00
parent 360f0500a9
commit 10dae9193c
4 changed files with 203 additions and 7 deletions
+2 -2
View File
@@ -139,8 +139,8 @@ export default function FamilyTable({
</tr>
</thead>
<tbody className="h-full">
{currentFamilyList?.map((familyMember) => {
return <FamilyRow {...familyMember} />;
{currentFamilyList?.map((familyMember, index) => {
return <FamilyRow key={index} {...familyMember} />;
})}
</tbody>
</table>