diff --git a/components/chat/chat-help.tsx b/components/chat/chat-help.tsx index e03eff3..c0ec844 100644 --- a/components/chat/chat-help.tsx +++ b/components/chat/chat-help.tsx @@ -17,9 +17,14 @@ import { } from "../ui/dropdown-menu" import { Announcements } from "../utility/announcements" +import { useTranslation } from 'react-i18next' + interface ChatHelpProps {} export const ChatHelp: FC = ({}) => { + + const { t } = useTranslation() + useHotkey("/", () => setIsOpen(prevState => !prevState)) const [isOpen, setIsOpen] = useState(false)