mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
044d6fde65
- Add missing modules for local image dev env - Use macro import to import modules GitOrigin-RevId: 403a9950bc74063a9c9d34c9bc912af18f418e85
23 lines
531 B
TypeScript
23 lines
531 B
TypeScript
import { useTranslation } from 'react-i18next'
|
|
import { useContactUsModal } from '../../../shared/hooks/use-contact-us-modal'
|
|
import LeftMenuButton from './left-menu-button'
|
|
|
|
export default function HelpContactUs() {
|
|
const { modal, showModal } = useContactUsModal()
|
|
const { t } = useTranslation()
|
|
|
|
return (
|
|
<>
|
|
<LeftMenuButton
|
|
onClick={showModal}
|
|
icon={{
|
|
type: 'question',
|
|
fw: true,
|
|
}}
|
|
>
|
|
{t('contact_us')}
|
|
</LeftMenuButton>
|
|
{modal}
|
|
</>
|
|
)
|
|
}
|