diff --git a/src/app/tools/session/page.tsx b/src/app/tools/session/page.tsx index 83c471958..97023ac9a 100644 --- a/src/app/tools/session/page.tsx +++ b/src/app/tools/session/page.tsx @@ -89,7 +89,7 @@ export default function Page() { }} onBlur={(event) => { // TODO: remove this hack when https://github.com/radix-ui/primitives/issues/2193 is fixed - showSearchResults && event.target.focus(); + if (showSearchResults) event.target.focus(); }} onKeyDown={(event) => { if (event.key === 'Escape') {