Skip to content

Commit 9876341

Browse files
kartikchotaneliang
andauthored
Remove setSchedulerCanvasHeight
Co-authored-by: E-Liang Tan <eliang@eliangtan.com>
1 parent 6472453 commit 9876341

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/App.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ export default function App() {
4949
importedFlamechart: FlamechartData,
5050
) => {
5151
unstable_batchedUpdates(() => {
52-
setSchedulerCanvasHeight(
53-
REACT_PRIORITIES.reduce((height, priority) => {
54-
return height + getPriorityHeight(importedProfilerData, priority);
55-
}, 0),
56-
);
5752
setProfilerDataV2(importedProfilerData);
5853
setFlamechart(importedFlamechart);
5954
});

0 commit comments

Comments
 (0)