Skip to content

Commit

Permalink
Set valid default state for Elastic flamegraph
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcrail authored and rockdaboot committed Jul 4, 2022
1 parent 68ac9eb commit 32f6687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/profiling/public/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function App({ fetchTopN, fetchElasticFlamechart, fetchPixiFlamechart }: Props)
series: new Map(),
});

const [elasticFlamegraph, setElasticFlamegraph] = useState({});
const [elasticFlamegraph, setElasticFlamegraph] = useState({ leaves: [] });
const [pixiFlamegraph, setPixiFlamegraph] = useState({});

const tabs = [
Expand Down

0 comments on commit 32f6687

Please sign in to comment.