Update Terminal.tsx

This commit is contained in:
talksik
2022-05-28 02:29:46 -05:00
parent d0ae98666f
commit 2def3fde91
+3 -2
View File
@@ -265,6 +265,7 @@ const Navbar = () => {
); );
}; };
const searchShortcut = 'Shift';
const SecondNavbar = () => { const SecondNavbar = () => {
const { enqueueSnackbar } = useSnackbar(); const { enqueueSnackbar } = useSnackbar();
@@ -275,7 +276,7 @@ const SecondNavbar = () => {
if (searchRef?.current) searchRef.current.focus(); if (searchRef?.current) searchRef.current.focus();
}, []); }, []);
useKey('Tab', onSearch); useKey('Shift', onSearch);
return ( return (
<Stack <Stack
@@ -296,7 +297,7 @@ const SecondNavbar = () => {
<Input placeholder={'Find or start a conversation'} inputRef={searchRef} /> <Input placeholder={'Find or start a conversation'} inputRef={searchRef} />
<KeyboardShortcutLabel label="tab" /> <KeyboardShortcutLabel label="Shift" />
</Stack> </Stack>
); );
}; };