From edb41cf37d5a26bf9b722d0231d21f5647eaff6c Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Tue, 23 Jul 2024 09:23:33 +0200 Subject: [PATCH] feat: rename file --- .../FeatureView/{Contributors.tsx => Collaborators.tsx} | 6 +++--- frontend/src/component/feature/FeatureView/FeatureView.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename frontend/src/component/feature/FeatureView/{Contributors.tsx => Collaborators.tsx} (92%) diff --git a/frontend/src/component/feature/FeatureView/Contributors.tsx b/frontend/src/component/feature/FeatureView/Collaborators.tsx similarity index 92% rename from frontend/src/component/feature/FeatureView/Contributors.tsx rename to frontend/src/component/feature/FeatureView/Collaborators.tsx index 0274ca29fd..a81b6d8cef 100644 --- a/frontend/src/component/feature/FeatureView/Contributors.tsx +++ b/frontend/src/component/feature/FeatureView/Collaborators.tsx @@ -60,7 +60,7 @@ const CollaboratorListContainer = styled('div')(({ theme }) => ({ fontSize: theme.typography.body2.fontSize, })); -const Collaborators: FC = ({ users }) => { +const CollaboratorList: FC = ({ users }) => { return ( Collaborators @@ -84,7 +84,7 @@ type Props = { collaborators: IFeatureToggle['collaborators']; }; -export const Contributors: FC = ({ collaborators }) => { +export const Collaborators: FC = ({ collaborators }) => { if (!collaborators || collaborators.users.length === 0) { return null; } @@ -94,7 +94,7 @@ export const Contributors: FC = ({ collaborators }) => { return ( - + ); }; diff --git a/frontend/src/component/feature/FeatureView/FeatureView.tsx b/frontend/src/component/feature/FeatureView/FeatureView.tsx index cd77e18ba6..14af8ddf07 100644 --- a/frontend/src/component/feature/FeatureView/FeatureView.tsx +++ b/frontend/src/component/feature/FeatureView/FeatureView.tsx @@ -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,