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

@ -14,7 +14,7 @@ const columnMap = [
"grid-cols-1 md:grid-cols-2 lg:grid-cols-8",
];
export default function List({ services, target, layout }) {
export default function List({ services, layout }) {
return (
<ul
className={classNames(
@ -23,7 +23,7 @@ export default function List({ services, target, layout }) {
)}
>
{services.map((service) => (
<Item key={service.name} target={target} service={service} />
<Item key={service.name} service={service} />
))}
</ul>
);