datopian / datahub

🌀 Rapidly build rich data portals using a modern frontend framework
https://datahub.io/opensource
MIT License
2.17k stars 322 forks source link

Fix React warning about unique "key" prop #1065

Closed marcchehab closed 1 month ago

marcchehab commented 4 months ago

I always get a react warning: Warning: Each child in a list should have a unique "key" prop.

This fixed it and makes for warning-free development 😊 Beware I'm not a very proficient webdev.

changeset-bot[bot] commented 4 months ago

⚠️ No Changeset found

Latest commit: 9e73410b177c592c7489cef67cc72bf39176c771

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

6 Ignored Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **portaljs-alan-turing** | ⬜️ Ignored ([Inspect](https://vercel.com/datopian1/portaljs-alan-turing/J99Anf4PQzVMxxdXeyCZVxpE3fTt)) | [Visit Preview](https://portaljs-alan-turing-git-fork-marcchehab-patch-1-datopian1.vercel.app) | | Jan 4, 2024 1:16pm | | **portaljs-ckan** | ⬜️ Ignored ([Inspect](https://vercel.com/datopian1/portaljs-ckan/AvrR6H1nxGPTe7SaNVYQdbdDpRmL)) | [Visit Preview](https://portaljs-ckan-git-fork-marcchehab-patch-1-datopian1.vercel.app) | | Jan 4, 2024 1:16pm | | **portaljs-git-example** | ⬜️ Ignored ([Inspect](https://vercel.com/datopian1/portaljs-git-example/3HUkDoSEJPdRZFow8KZqt7SVF8v9)) | [Visit Preview](https://portaljs-git-example-git-fork-marcchehab-patch-1-datopian1.vercel.app) | | Jan 4, 2024 1:16pm | | **portaljs-learn** | ⬜️ Ignored ([Inspect](https://vercel.com/datopian1/portaljs-learn/5zvUkTiyF65ZfkskcskCah22XLiQ)) | [Visit Preview](https://portaljs-learn-git-fork-marcchehab-patch-1-datopian1.vercel.app) | | Jan 4, 2024 1:16pm | | **portaljs-storybook** | ⬜️ Ignored ([Inspect](https://vercel.com/datopian1/portaljs-storybook/3ukjHSz2pKhhSJRGWmZxsaDi4X4T)) | [Visit Preview](https://portaljs-storybook-git-fork-marcchehab-patch-1-datopian1.vercel.app) | | Jan 4, 2024 1:16pm | | **site-portaljs** | ⬜️ Ignored ([Inspect](https://vercel.com/datopian1/site-portaljs/CA7Sh5Vj9svGqQpxPUuFEPifYiQL)) | [Visit Preview](https://site-portaljs-git-fork-marcchehab-patch-1-datopian1.vercel.app) | | Jan 4, 2024 1:16pm |
vercel[bot] commented 4 months ago

@marcchehab is attempting to deploy a commit to the Datopian Team on Vercel.

A member of the Team first needs to authorize it.