1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-05 17:53:12 +02:00

feat: rename file

This commit is contained in:
Thomas Heartman 2024-07-23 09:23:33 +02:00
parent bfb8bc71ae
commit edb41cf37d
No known key found for this signature in database
GPG Key ID: BD1F880DAED1EE78
2 changed files with 4 additions and 4 deletions

View File

@ -60,7 +60,7 @@ const CollaboratorListContainer = styled('div')(({ theme }) => ({
fontSize: theme.typography.body2.fontSize, fontSize: theme.typography.body2.fontSize,
})); }));
const Collaborators: FC<CollaboratorListProps> = ({ users }) => { const CollaboratorList: FC<CollaboratorListProps> = ({ users }) => {
return ( return (
<CollaboratorListContainer> <CollaboratorListContainer>
<span className='description'>Collaborators</span> <span className='description'>Collaborators</span>
@ -84,7 +84,7 @@ type Props = {
collaborators: IFeatureToggle['collaborators']; collaborators: IFeatureToggle['collaborators'];
}; };
export const Contributors: FC<Props> = ({ collaborators }) => { export const Collaborators: FC<Props> = ({ collaborators }) => {
if (!collaborators || collaborators.users.length === 0) { if (!collaborators || collaborators.users.length === 0) {
return null; return null;
} }
@ -94,7 +94,7 @@ export const Contributors: FC<Props> = ({ collaborators }) => {
return ( return (
<Container> <Container>
<LastModifiedBy {...lastModifiedBy} /> <LastModifiedBy {...lastModifiedBy} />
<Collaborators users={collaborators.users} /> <CollaboratorList users={collaborators.users} />
</Container> </Container>
); );
}; };

View File

@ -50,7 +50,7 @@ import copy from 'copy-to-clipboard';
import useToast from 'hooks/useToast'; import useToast from 'hooks/useToast';
import { useUiFlag } from 'hooks/useUiFlag'; import { useUiFlag } from 'hooks/useUiFlag';
import type { IFeatureToggle } from 'interfaces/featureToggle'; import type { IFeatureToggle } from 'interfaces/featureToggle';
import { Contributors as Collaborators } from './Contributors'; import { Collaborators } from './Collaborators';
const StyledHeader = styled('div')(({ theme }) => ({ const StyledHeader = styled('div')(({ theme }) => ({
backgroundColor: theme.palette.background.paper, backgroundColor: theme.palette.background.paper,