Skip to content

Commit

Permalink
Fix #2880
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Mar 30, 2024
1 parent 782fdf6 commit f3e937f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/LiveDocsTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export let LiveDocsTab = ({ focus_on_open, desired_doc_query, on_update_doc_quer
live_doc_search_ref.current.focus({ preventScroll: true })
live_doc_search_ref.current.select()
}
}, [focus_on_open, live_doc_search_ref.current])
}, [focus_on_open])

let fetch_docs = (new_query) => {
update_state((state) => {
Expand Down

0 comments on commit f3e937f

Please sign in to comment.