Skip to content

Commit 5c9baa1

Browse files
committed
Fix bad typing
1 parent a4b1229 commit 5c9baa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/profiling/sampling/_flamegraph_assets/flamegraph.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ function createPythonTooltip(data) {
317317
const selfSamples = d.data.self || 0;
318318
const selfMs = (selfSamples / 1000).toFixed(2);
319319
const percentage = ((d.data.value / data.value) * 100).toFixed(2);
320-
const relativePercentage = Math.min(100, ((d.data.value / (zoomedNodeValue ?? data.value)) * 100).toFixed(2));
320+
const relativePercentage = Math.min(100, ((d.data.value / (zoomedNodeValue ?? data.value)) * 100)).toFixed(2);
321321
const calls = d.data.calls || 0;
322322
const childCount = d.children ? d.children.length : 0;
323323
const source = d.data.source;

0 commit comments

Comments
 (0)