mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
b7802674d5
React `project-context` GitOrigin-RevId: 6a23437d6e6a328ff5854622ff903d348db1f8b8
16 lines
435 B
JavaScript
16 lines
435 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 project = useProjectContext()
|
|
|
|
return (
|
|
<Row className="project-member">
|
|
<Col xs={7}>{project.owner?.email}</Col>
|
|
<Col xs={3} className="text-left">
|
|
<Trans i18nKey="owner" />
|
|
</Col>
|
|
</Row>
|
|
)
|
|
}
|