Commit b76335c5 authored by Krzysztof Kocot's avatar Krzysztof Kocot Committed by Gandalf
Browse files

#706 Fix back navigation from post to hivesense search

Problem: After clicking a search result and pressing back,
users saw an empty page instead of search results.

Fix:
- ai-result.tsx: Use useMemo for displayedPosts derived from
  React Query cache (fullPosts) + loaded stubs. This ensures
  data persists on back navigation.
- use-search.ts: Add useEffect to sync input state with URL
  params when navigating back.

🤖 Generated with [Claude Code](https://claude.com/claude-code

)

Co-Authored-By: default avatarClaude Opus 4.5 <noreply@anthropic.com>
parent 06acba04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment