Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Rodriguez Baquero committed Oct 3, 2023
1 parent 538c7aa commit e4de384
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 @@ -42,7 +42,7 @@ export const NodesContextProvider = ({
const decoder = new TextDecoder();
const reader = response.body?.getReader();
const nodesMap = new Map<string, Node>();
console.log(response.headers.entries());
console.log(...response.headers);

Check failure on line 45 in src/contexts/NodesContext.tsx

View workflow job for this annotation

GitHub Actions / build

Type 'Headers' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
const medianTTFB = Number(response.headers.get("x-saturn-median-ttfb"));

setGlobalStats({ medianTTFB });
Expand Down

0 comments on commit e4de384

Please sign in to comment.