diff --git a/src/hooks/useFetchMetrics.ts b/src/hooks/useFetchMetrics.ts index dee0e34..a92e9c5 100644 --- a/src/hooks/useFetchMetrics.ts +++ b/src/hooks/useFetchMetrics.ts @@ -2,7 +2,7 @@ import { useState, useEffect } from "react"; import { MetricData, Node } from "../types"; const useFetchMetrics = (selectedNode: Node | undefined, nodes: Node[]) => { - const [isLoadingMetrics, setIsLoadingMetrics] = useState(false); + const [isLoadingMetrics, setIsLoadingMetrics] = useState(true); const [metricData, setMetricData] = useState(null); useEffect(() => {