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 committed 2022-09-21 09:00:57 +03:00
1 parent 244a76de0b
commit a677fbefbf
9 files changed
+57 -28

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@ import classNames from "classnames";
import List from "components/services/list";
export default function ServicesGroup({ services, target, layout }) {
export default function ServicesGroup({ services, layout }) {
return (
<div
key={services.name}
@@ -12,7 +12,7 @@ export default function ServicesGroup({ services, target, layout }) {
)}
>
<h2 className="text-theme-800 dark:text-theme-300 text-xl font-medium">{services.name}</h2>
<List services={services.services} target={target} layout={layout} />
<List services={services.services} layout={layout} />
</div>
);
}