Skip to content

Commit

Permalink
Remove setSchedulerCanvasHeight
Browse files Browse the repository at this point in the history
Co-authored-by: E-Liang Tan <eliang@eliangtan.com>
  • Loading branch information
kartikcho and taneliang authored Jul 2, 2020
1 parent 6472453 commit 9876341
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ export default function App() {
importedFlamechart: FlamechartData,
) => {
unstable_batchedUpdates(() => {
setSchedulerCanvasHeight(
REACT_PRIORITIES.reduce((height, priority) => {
return height + getPriorityHeight(importedProfilerData, priority);
}, 0),
);
setProfilerDataV2(importedProfilerData);
setFlamechart(importedFlamechart);
});
Expand Down

0 comments on commit 9876341

Please sign in to comment.