diff --git a/src/routes/cases.index.tsx b/src/routes/cases.index.tsx index 39df72b..d9f3e6b 100644 --- a/src/routes/cases.index.tsx +++ b/src/routes/cases.index.tsx @@ -31,8 +31,8 @@ function CasesList() { const [statusFilter, setStatusFilter] = useState("all"); const [view, setView] = useState<"active" | "archived">("active"); const [newOpen, setNewOpen] = useState(false); - const [sortKey, setSortKey] = useState("opened_at"); - const [sortDir, setSortDir] = useState("desc"); + const [sortKey, setSortKey] = useState("title"); + const [sortDir, setSortDir] = useState("asc"); const load = async () => { const { data } = await supabase