Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Fix key attribute while showing links (#10179)
Browse files Browse the repository at this point in the history
Co-authored-by: Aakash Patel <hi@aakashpatel.in>
  • Loading branch information
itsaakashpatel and Aakash Patel committed Feb 6, 2024
1 parent 52cc2cc commit 01c39ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/account/statistics/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export default function Statistics({ data, profile, BASE_URL }) {
<tbody className="divide-y divide-primary-low dark:divide-primary-medium bg-white dark:bg-primary-high">
{data.links &&
data.links.individual.map((link) => (
<tr key={link.url}>
<tr key={link._id}>
<td className="md:whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-primary-high dark:text-primary-low sm:pl-6 text-ellipsis overflow-hidden">
{session && session.accountType === "premium" && (
<Link href={`/account/statistics/link/${link._id}`}>
Expand Down

0 comments on commit 01c39ee

Please sign in to comment.