diff --git a/src/Dashboard.tsx b/src/Dashboard.tsx index b7edd81..cc2c2a1 100644 --- a/src/Dashboard.tsx +++ b/src/Dashboard.tsx @@ -65,7 +65,7 @@ const colorStrings = [ export default function Dashboard() { const { connections, store } = useAppModel(); const nextUnsolvedId = createMemo(() => { - return connections.find((x) => store.solutions[x.id] === undefined)?.id; + return connections.find((x) => (store.solutions ?? [])[x.id] === undefined)?.id; }); return (