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:
parent
bfb8bc71ae
commit
edb41cf37d
@ -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>
|
||||
);
|
||||
};
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user