mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: use if
This commit is contained in:
1 parent
7bb3c60a61
commit
15f32a0044
1 file changed
+1
-1
@@ -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') {
|
||||
|
||||
Reference in new issue
Block a user