Skip to content

Commit

Permalink
fix bug where users had same name (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssb-jnk authored Mar 4, 2024
1 parent 37411c6 commit 979c792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const TableDesktopView = ({ columns, data, activeTab }: TableDesktopViewProps) =
{data.length ? (
data.map((row, index) => {
return (
<tr key={row.id} className={conditionalStyling(index)}>
<tr key={row.id + index} className={conditionalStyling(index)}>
{columns.map((column) => (
<td key={column.id}>{row[column.id]}</td>
))}
Expand Down

0 comments on commit 979c792

Please sign in to comment.