mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-18 10:39:49 +00:00
Handle duplicate keys for bookmarks
Closes #1445 Co-Authored-By: David <davidsmejia@gmail.com>
This commit is contained in:
parent
dcb9d9e45c
commit
442a76a57e
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ export default function List({ bookmarks }) {
|
|||
return (
|
||||
<ul className="mt-3 flex flex-col">
|
||||
{bookmarks.map((bookmark) => (
|
||||
<Item key={bookmark.name} bookmark={bookmark} />
|
||||
<Item key={`${bookmark.name}-${bookmark.href}`} bookmark={bookmark} />
|
||||
))}
|
||||
</ul>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue