Spaces:
Sleeping

wuyiqunLu commited on
Commit
7acedd7
·
unverified ·
1 Parent(s): d360551

fix: revalidatePath not work in api route handler (#95)

Browse files

https://nextjs.org/docs/app/building-your-application/caching#data-cache-and-client-side-router-cache
after ending, see the refreshed data
<img width="1524" alt="image"
src="https://github.com/landing-ai/vision-agent-ui/assets/132986242/65fb8076-26e9-4cb2-9e11-757a5db32a2c">

2 files changed +9 -1
Files changed (2)
app/api/vision-agent/route.ts+6-1
lib/hooks/useVisionAgent.ts+3