game system nav context

sse endpoint
This commit is contained in:
2024-09-08 06:43:39 -06:00
parent 84cbea8ce1
commit a2fde9cc79
12 changed files with 37 additions and 89 deletions

View File

@@ -26,7 +26,6 @@ const tokenize = (body: string) => {
const rx = new RegExp(token.rx);
let match;
while ((match = rx.exec(body)) !== null) {
if (type === "p") debugger;
const start = match.index;
const end = rx.lastIndex;
@@ -180,9 +179,9 @@ const contentToChildren = (token: Token) => {
},
]
: undefined,
})
}),
),
token.children || []
token.children || [],
).filter((c) => c.children?.length || (c.rendersContentOnly && c.content));
};