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

View File

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