finish migration to less deps

This commit is contained in:
Chris Kruining 2025-03-31 14:49:31 +02:00
parent 3a762d2343
commit aa12f5443c
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
19 changed files with 94 additions and 142 deletions

View file

@ -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>
</>
);