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 c720b68 commit 9825584
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 @@ -46,7 +46,7 @@ export const NodesContextProvider = ({
const decoder = new TextDecoder();
const reader = response.body?.getReader();
const nodesMap = new Map<string, Node>();
const medianTTFB = Number(response.headers.get("x-saturn-median-ttfb")) || 70;
const medianTTFB = Number(response.headers.get("x-saturn-median-ttfb"));

setGlobalStats({ medianTTFB });

Expand Down

0 comments on commit 9825584

Please sign in to comment.