mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-04 18:54:23 -05:00
7755203ff7
GitOrigin-RevId: d11b3f587b462d400a8d68128dc8be342415bf7d
17 lines
458 B
JavaScript
17 lines
458 B
JavaScript
import { useProjectContext } from '../../../shared/context/project-context'
|
|
import { Col, Row } from 'react-bootstrap'
|
|
import { useTranslation } from 'react-i18next'
|
|
|
|
export default function OwnerInfo() {
|
|
const { t } = useTranslation()
|
|
const { owner } = useProjectContext()
|
|
|
|
return (
|
|
<Row className="project-member">
|
|
<Col xs={7}>{owner?.email}</Col>
|
|
<Col xs={3} className="text-left">
|
|
{t('owner')}
|
|
</Col>
|
|
</Row>
|
|
)
|
|
}
|