diff --git a/modules/electrophysiology_browser/jsx/react-series-data-viewer/src/series/components/ResponsiveViewer.tsx b/modules/electrophysiology_browser/jsx/react-series-data-viewer/src/series/components/ResponsiveViewer.tsx index 8956fb8b116..427cf6a05cf 100644 --- a/modules/electrophysiology_browser/jsx/react-series-data-viewer/src/series/components/ResponsiveViewer.tsx +++ b/modules/electrophysiology_browser/jsx/react-series-data-viewer/src/series/components/ResponsiveViewer.tsx @@ -53,6 +53,9 @@ const ResponsiveViewer : FunctionComponent = ({ const layers = React.Children.toArray(children).map(provision); const domain = window.EEGLabSeriesProviderStore[chunksURL]?.getState().bounds.domain; + // Data not loaded yet + if (!domain) return null; + const amplitude = [0, 1]; const eventScale = [ scaleLinear()