mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
6319455e91
Strict Project Context GitOrigin-RevId: a0f7f2b3dcb29fbd0102dcb920cf5424a921d583
16 lines
429 B
JavaScript
16 lines
429 B
JavaScript
import { useProjectContext } from '../../../shared/context/project-context'
|
|
import { Col, Row } from 'react-bootstrap'
|
|
import { Trans } from 'react-i18next'
|
|
|
|
export default function OwnerInfo() {
|
|
const { owner } = useProjectContext()
|
|
|
|
return (
|
|
<Row className="project-member">
|
|
<Col xs={7}>{owner?.email}</Col>
|
|
<Col xs={3} className="text-left">
|
|
<Trans i18nKey="owner" />
|
|
</Col>
|
|
</Row>
|
|
)
|
|
}
|