summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/web/src/components/Share.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web/src/components/Share.tsx b/packages/web/src/components/Share.tsx
index 008f863c9..93aad6e61 100644
--- a/packages/web/src/components/Share.tsx
+++ b/packages/web/src/components/Share.tsx
@@ -1616,7 +1616,7 @@ export default function Share(props: {
>
{(_part) => {
const todos = createMemo(() =>
- sortTodosByStatus(toolData()?.args.todos),
+ sortTodosByStatus(toolData()?.args?.todos ?? []),
)
const starting = () =>
todos().every((t) => t.status === "pending")