From 169acf3cdd047961a00d3d3639d2c4d8694539ef Mon Sep 17 00:00:00 2001 From: jules Date: Sat, 2 May 2026 20:18:37 +1000 Subject: [PATCH] fix(ai): import useMemo (missing since hand-off note refactor) The handoffNote useMemo I added in the agent-history work referenced useMemo without importing it. Vite was happy at compile time (lazy binding) but the page crashes at first paint with "Can't find variable: useMemo". Co-Authored-By: Claude Opus 4.7 (1M context) --- app/routes/ai.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/routes/ai.tsx b/app/routes/ai.tsx index 4fcc21b..a44b348 100644 --- a/app/routes/ai.tsx +++ b/app/routes/ai.tsx @@ -1,6 +1,7 @@ import { useCallback, useEffect, + useMemo, useRef, useState, } from "react"