diff --git a/frontend/src/component/feature/FeatureToggleList/FeatureToggleListItem/FeatureToggleListItem.jsx b/frontend/src/component/feature/FeatureToggleList/FeatureToggleListItem/FeatureToggleListItem.jsx index 549cd66826..f839695d36 100644 --- a/frontend/src/component/feature/FeatureToggleList/FeatureToggleListItem/FeatureToggleListItem.jsx +++ b/frontend/src/component/feature/FeatureToggleList/FeatureToggleListItem/FeatureToggleListItem.jsx @@ -17,6 +17,7 @@ import { useStyles } from './styles'; import { getTogglePath } from '../../../../utils/route-path-helpers'; import FeatureStatus from '../../FeatureView2/FeatureStatus/FeatureStatus'; import FeatureType from '../../FeatureView2/FeatureType/FeatureType'; +import useProjects from '../../../../hooks/api/getters/useProjects/useProjects'; const FeatureToggleListItem = ({ feature, @@ -31,11 +32,13 @@ const FeatureToggleListItem = ({ }) => { const styles = useStyles(); + // const {projects} = useProjects() const isArchive = !!revive; const { name, description, type, stale, createdAt, project, lastSeenAt } = feature; + // let obj = projects.find(project => project.id === 'projectId'); return ( revive(feature.name)}> + console.log('ho')}> }