Skip to content

Commit 1d68dc3

Browse files
committed
import desc
1 parent a65536b commit 1d68dc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pages/notes/index.astro

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { db, Note } from "astro:db";
33
const notes = await db.select().from(Note).orderBy(desc(Note.published));
44
import BaseLayout from "../../layouts/BaseLayout.astro";
55
import Link from "../../components/Link.astro";
6+
import { desc } from "astro:db";
67
---
78

89
<BaseLayout title="notes!" description="Yusuf's note hub">

0 commit comments

Comments
 (0)