From 8f7146282b6a2879e2f89630393360f70e84a957 Mon Sep 17 00:00:00 2001 From: michaelshin Date: Fri, 5 May 2023 15:41:16 -0400 Subject: [PATCH] Check if operation_tree has data before access --- deepview-explore/react-ui/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepview-explore/react-ui/src/App.js b/deepview-explore/react-ui/src/App.js index 1079a3b..be241b3 100644 --- a/deepview-explore/react-ui/src/App.js +++ b/deepview-explore/react-ui/src/App.js @@ -84,7 +84,7 @@ function App() { const processAnalysisState = function (state) { setAnalysisState(state); - if (state.breakdown) { + if (state.breakdown && state.breakdown.operation_tree) { let operation_tree = state.breakdown.operation_tree; let { coarse, fine } = getTraceByLevel(operation_tree); setTimeBreakdown({