Skip to content

Commit

Permalink
Update src/contexts/NodesContext.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Amean Asad <amean.asad1999@gmail.com>
  • Loading branch information
Diego Rodríguez Baquero and AmeanAsad authored Oct 3, 2023
1 parent 31671ed commit 1abf646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contexts/NodesContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const NodesContextProvider = ({
const [nodes, setNodes] = useState<Node[] | []>([]);
const [tempNodes, setTempNodes] = useState<Node[] | []>([]);
const [isLoading, setIsLoading] = useState<boolean>();
const [globalStats, setGlobalStats] = useState<{ medianTTFB: number }>(initialValues.globalStats);
const [globalStats, setGlobalStats] = useState<GlobalStats>(initialValues.globalStats);

useEffect(() => {
let animationFrameId: number;
Expand Down

0 comments on commit 1abf646

Please sign in to comment.