add global settings context

will be useful going forward, and simplify widget props being passed around all over the place
This commit is contained in:
Ben Phelps
2022-09-21 09:00:57 +03:00
parent 244a76de0b
commit a677fbefbf
9 changed files with 57 additions and 28 deletions

View File

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