1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: remove stale stats widget (#7353) (#7376)

This commit is contained in:
Mateusz Kwasniewski 2024-06-12 13:40:27 +02:00 committed by GitHub
parent 8664776388
commit dd9b4c225a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ import { useRequiredPathParam } from 'hooks/useRequiredPathParam';
const StyledBox = styled(Box)(({ theme }) => ({
display: 'grid',
gap: theme.spacing(2),
gridTemplateColumns: 'repeat(5, 1fr)',
gridTemplateColumns: 'repeat(4, 1fr)',
flexWrap: 'wrap',
[theme.breakpoints.down('lg')]: {
gridTemplateColumns: 'repeat(2, 1fr)',
@ -105,18 +105,6 @@ export const ProjectInsightsStats = ({ stats }: IProjectStatsProps) => {
</NavigationBar>
</StatusBox>
<StatusBox
title='Stale flags'
boxText={String(projectActivityCurrentWindow)}
change={
projectActivityCurrentWindow - projectActivityPastWindow
}
>
<NavigationBar to={`/projects/${projectId}/health`}>
<KeyboardArrowRight />
</NavigationBar>
</StatusBox>
<StatusBox
title='Features archived'
boxText={String(archivedCurrentWindow)}