owner-info.js 443 B

1234567891011121314151617
  1. import React from 'react'
  2. import { useProjectContext } from './share-project-modal'
  3. import { Col, Row } from 'react-bootstrap'
  4. import { Trans } from 'react-i18next'
  5. export default function OwnerInfo() {
  6. const project = useProjectContext()
  7. return (
  8. <Row className="project-member">
  9. <Col xs={7}>{project.owner?.email}</Col>
  10. <Col xs={3} className="text-left">
  11. <Trans i18nKey="owner" />
  12. </Col>
  13. </Row>
  14. )
  15. }