mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 13:39:52 +00:00
fix(app): code splitting for web load perf gains
This commit is contained in:
parent
3f463bc916
commit
b88bcd49fd
9 changed files with 150 additions and 83 deletions
|
|
@ -15,6 +15,7 @@ export function Markdown(
|
|||
async (markdown) => {
|
||||
return marked.parse(markdown)
|
||||
},
|
||||
{ initialValue: "" },
|
||||
)
|
||||
return (
|
||||
<div
|
||||
|
|
@ -23,7 +24,7 @@ export function Markdown(
|
|||
...(local.classList ?? {}),
|
||||
[local.class ?? ""]: !!local.class,
|
||||
}}
|
||||
innerHTML={html()}
|
||||
innerHTML={html.latest}
|
||||
{...others}
|
||||
/>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue