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

GitOrigin-RevId: 7cd7b2fa3eaf978377fc6f402bce92229fda2c51
This commit is contained in:
Alf Eaton
2025-01-30 09:04:51 +00:00
committed by Copybot
parent 6222249605
commit 4effefc0e5
@@ -141,6 +141,7 @@ export const LayoutProvider: FC = ({ children }) => {
event.key === 'f' event.key === 'f'
) { ) {
if (isSplitTestEnabled('full-project-search')) { if (isSplitTestEnabled('full-project-search')) {
event.preventDefault()
setProjectSearchIsOpen(true) setProjectSearchIsOpen(true)
} }
} }