owner-info.jsx 458 B

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