Skip to content

Commit da0ef63

Browse files
authored
ui: Fix TS error with pprof download (#6084)
1 parent df8e088 commit da0ef63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/packages/shared/profile/src/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ export const downloadPprof = async (
4040
}`
4141
);
4242
}
43-
const blob = new Blob([response.report.pprof], {type: 'application/octet-stream'});
43+
const blob = new Blob([response.report.pprof.slice()], {type: 'application/octet-stream'});
44+
4445
return blob;
4546
};
4647

0 commit comments

Comments
 (0)