This commit is contained in:
parent
60f29171f6
commit
c3ae27c7d7
|
|
@ -17,9 +17,14 @@ import {
|
||||||
} from "../ui/dropdown-menu"
|
} from "../ui/dropdown-menu"
|
||||||
import { Announcements } from "../utility/announcements"
|
import { Announcements } from "../utility/announcements"
|
||||||
|
|
||||||
|
import { useTranslation } from 'react-i18next'
|
||||||
|
|
||||||
interface ChatHelpProps {}
|
interface ChatHelpProps {}
|
||||||
|
|
||||||
export const ChatHelp: FC<ChatHelpProps> = ({}) => {
|
export const ChatHelp: FC<ChatHelpProps> = ({}) => {
|
||||||
|
|
||||||
|
const { t } = useTranslation()
|
||||||
|
|
||||||
useHotkey("/", () => setIsOpen(prevState => !prevState))
|
useHotkey("/", () => setIsOpen(prevState => !prevState))
|
||||||
|
|
||||||
const [isOpen, setIsOpen] = useState(false)
|
const [isOpen, setIsOpen] = useState(false)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue