Call event.preventDefault on the "full project search" keyboard shortcut (#23147)

GitOrigin-RevId: 7cd7b2fa3eaf978377fc6f402bce92229fda2c51
This commit is contained in:
Alf Eaton
2025-01-29 09:18:50 +00:00
committed by Copybot
parent 1ca47334f7
commit 8f11bc6270

View File

@@ -141,6 +141,7 @@ export const LayoutProvider: FC = ({ children }) => {
event.key === 'f'
) {
if (isSplitTestEnabled('full-project-search')) {
event.preventDefault()
setProjectSearchIsOpen(true)
}
}