UI updates

This commit is contained in:
paul committed 2022-04-27 05:10:49 -04:00
1 parent d444e4da7d
commit e006a7af5a
11 files changed
+107 -47

No files matched your search

+2 -2
View File
@@ -69,12 +69,12 @@ export function mapChild(obj: listItem | string, level: number) {
title = React.createElement('strong', {}, obj.title);
return (
<>
<section className={level < 5 ? 'block' : ''}>
{title}
{obj.description ? <p>{obj.description}</p> : <></>}
<div>
{obj.children.map(l => mapChild(l, level + 1))}
</div>
</>
</section>
);
}