game system nav context
sse endpoint
This commit is contained in:
@@ -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));
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user