Fix missing key prop in BIASyncDashboard list items
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useEffect, useState, useCallback, useRef } from 'react';
|
||||
import { useEffect, useState, useCallback, useRef, Fragment } from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { clsx } from 'clsx';
|
||||
import { getBIAComparison, updateApplication, getBusinessImpactAnalyses } from '../services/api';
|
||||
@@ -523,8 +523,8 @@ export default function BIASyncDashboard() {
|
||||
</tr>
|
||||
) : (
|
||||
filteredApplications.map((item) => (
|
||||
<>
|
||||
<tr key={item.id} className="hover:bg-blue-50/30 transition-colors border-b border-gray-100">
|
||||
<Fragment key={item.id}>
|
||||
<tr className="hover:bg-blue-50/30 transition-colors border-b border-gray-100">
|
||||
<td className="px-6 py-4 w-64">
|
||||
<div>
|
||||
<div className="text-sm font-medium text-gray-900">
|
||||
@@ -670,7 +670,7 @@ export default function BIASyncDashboard() {
|
||||
</td>
|
||||
</tr>
|
||||
)}
|
||||
</>
|
||||
</Fragment>
|
||||
))
|
||||
)}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user