From 77b39890c03c54c870422f45b749764bfc4ba599 Mon Sep 17 00:00:00 2001 From: Ka-wai Wong Date: Tue, 29 Jan 2019 15:52:34 -0800 Subject: [PATCH] Fix null check in handleTimingEvent --- src/devpanel/components/App.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devpanel/components/App.js b/src/devpanel/components/App.js index c9d5341..c56ba4a 100644 --- a/src/devpanel/components/App.js +++ b/src/devpanel/components/App.js @@ -39,8 +39,8 @@ class App extends Component { } if ( - formatTimingsEvent.insideViewportComponents != null || - formatTimingsEvent.outsideViewportComponents != null + formattedTimings.insideViewportComponents != null || + formattedTimings.outsideViewportComponents != null ) { const captureCycle = { insideViewportComponents: formattedTimings.insideViewportComponents,