mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 23:40:48 +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
|
|
@ -175,12 +175,13 @@ export function List<T>(props: ListProps<T> & { ref?: (ref: ListRef) => void })
|
|||
fallback={
|
||||
<div data-slot="list-empty-state">
|
||||
<div data-slot="list-message">
|
||||
{props.emptyMessage ?? "No results"} for <span data-slot="list-filter">"{filter()}"</span>
|
||||
{props.emptyMessage ?? (grouped.loading ? "Loading" : "No results")} for{" "}
|
||||
<span data-slot="list-filter">"{filter()}"</span>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
>
|
||||
<For each={grouped()}>
|
||||
<For each={grouped.latest}>
|
||||
{(group) => (
|
||||
<div data-slot="list-group">
|
||||
<Show when={group.category}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue