rename playground build.ts

This commit is contained in:
Cole Lawrence 2022-06-13 09:08:07 -04:00
parent 1b36e8f6f9
commit 8f0f76df54
2 changed files with 5 additions and 3 deletions

View file

@ -70,7 +70,9 @@ const outDirs = Object.values(groups).flatMap((group) =>
// Render home page contents
const homeHtml = renderToStaticMarkup(
<Home groups={mapValues(groups, (group) => Object.keys(group))} />,
React.createElement(Home, {
groups: mapValues(groups, (group) => Object.keys(group)),
}),
)
const config: BuildOptions = {