finish migration to less deps
This commit is contained in:
parent
3a762d2343
commit
aa12f5443c
19 changed files with 94 additions and 142 deletions
|
@ -15,14 +15,12 @@ export default function Home() {
|
|||
const highlight = createAsync(() => getEntry(14));
|
||||
const categories = createAsync(() => listCategories());
|
||||
|
||||
console.log('page', highlight()?.id, categories?.length);
|
||||
|
||||
return (
|
||||
<>
|
||||
<Title>Home</Title>
|
||||
|
||||
<Show when={highlight() && categories()}>
|
||||
<Overview highlight={highlight()} categories={categories()} />
|
||||
<Overview highlight={highlight()!} categories={categories()!} />
|
||||
</Show>
|
||||
</>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue