2022-10-24 16:33:13 -04:00
|
|
|
import { useTranslation } from 'react-i18next'
|
2022-11-10 13:21:56 -05:00
|
|
|
import { useContactUsModal } from '../../../shared/hooks/use-contact-us-modal'
|
2022-10-24 16:33:13 -04:00
|
|
|
import LeftMenuButton from './left-menu-button'
|
|
|
|
|
|
|
|
export default function HelpContactUs() {
|
2022-11-10 13:21:56 -05:00
|
|
|
const { modal, showModal } = useContactUsModal()
|
2022-10-24 16:33:13 -04:00
|
|
|
const { t } = useTranslation()
|
|
|
|
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<LeftMenuButton
|
2022-11-10 13:21:56 -05:00
|
|
|
onClick={showModal}
|
2022-10-24 16:33:13 -04:00
|
|
|
icon={{
|
|
|
|
type: 'question',
|
|
|
|
fw: true,
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
{t('contact_us')}
|
|
|
|
</LeftMenuButton>
|
2022-11-10 13:21:56 -05:00
|
|
|
{modal}
|
2022-10-24 16:33:13 -04:00
|
|
|
</>
|
|
|
|
)
|
|
|
|
}
|