allow setting a global link target

This commit is contained in:
Ben Phelps committed 2022-09-21 08:40:19 +03:00
1 parent 75244cc40e
commit 20ac15b18c
7 files changed
+26 -25

No files matched your search

+2 -2
View File
@@ -1,10 +1,10 @@
import Item from "components/bookmarks/item";
export default function List({ bookmarks }) {
export default function List({ bookmarks, target }) {
return (
<ul className="mt-3 flex flex-col">
{bookmarks.map((bookmark) => (
<Item key={bookmark.name} bookmark={bookmark} />
<Item key={bookmark.name} bookmark={bookmark} target={target} />
))}
</ul>
);