Skip to content

Commit 4923f35

Browse files
Reset search state after clearing conversations
Clear both searchQuery and debouncedQuery when all sessions are removed, avoiding stale filters and aligning with a11y/UX review suggestions. Lints, builds and behavior unchanged otherwise.
1 parent 5b67b9d commit 4923f35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pages/IndependentPanel/App.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ function App() {
123123
stopCurrentPort()
124124
setSessionId(null)
125125
setCurrentSession(null)
126+
setSearchQuery('')
127+
setDebouncedQuery('')
126128
}
127129
}
128130

0 commit comments

Comments
 (0)