?
This commit is contained in:
@@ -67,7 +67,7 @@ export default function AusgabenList({ entries, onDelete, onEdit }: AusgabenList
|
||||
</tr>
|
||||
) : (
|
||||
entries.map((entry, index) => (
|
||||
<tr key={entry.ID} className={index % 2 === 0 ? 'bg-white' : 'bg-gray-100'}>
|
||||
<tr key={entry.ID || `entry-idx-${index}`} className={index % 2 === 0 ? 'bg-white' : 'bg-gray-100'}>
|
||||
<td className="border-y border-black p-2 text-center">
|
||||
{formatDate(entry.Datum)}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user