diff --git a/web-server/src/content/DoraMetrics/DoraMetricsBody.tsx b/web-server/src/content/DoraMetrics/DoraMetricsBody.tsx index d0f6e2267..c58fc955b 100644 --- a/web-server/src/content/DoraMetrics/DoraMetricsBody.tsx +++ b/web-server/src/content/DoraMetrics/DoraMetricsBody.tsx @@ -14,7 +14,7 @@ import { ROUTES } from '@/constants/routes'; import { FetchState } from '@/constants/ui-states'; import { useDoraStats } from '@/content/DoraMetrics/DoraCards/sharedHooks'; import { useAuth } from '@/hooks/useAuth'; -import { useBoolState, useEasyState } from '@/hooks/useEasyState'; +import { useBoolState } from '@/hooks/useEasyState'; import { usePageRefreshCallback } from '@/hooks/usePageRefreshCallback'; import { useBranchesForPrFilters, @@ -276,19 +276,12 @@ export const LoaderCore: FC<{ }; const LoadingWrapper = () => { - const rotation = useEasyState(0); - useEffect(() => { - const interval = setInterval(() => { - rotation.set((r) => r + 1); - }, 10); - return () => clearInterval(interval); - }, [rotation]); return (