mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
4f838ccacf
[web] BS5 share modal GitOrigin-RevId: 40a33e06eab720b568d31aefa021682535b6934e
18 lines
538 B
JavaScript
18 lines
538 B
JavaScript
import { useProjectContext } from '../../../shared/context/project-context'
|
|
import { useTranslation } from 'react-i18next'
|
|
import OLRow from '@/features/ui/components/ol/ol-row'
|
|
import OLCol from '@/features/ui/components/ol/ol-col'
|
|
|
|
export default function OwnerInfo() {
|
|
const { t } = useTranslation()
|
|
const { owner } = useProjectContext()
|
|
|
|
return (
|
|
<OLRow className="project-member">
|
|
<OLCol xs={7}>{owner?.email}</OLCol>
|
|
<OLCol xs={3} className="text-start">
|
|
{t('owner')}
|
|
</OLCol>
|
|
</OLRow>
|
|
)
|
|
}
|