You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Not EMPTY_ARRAY, because we always want to trigger a re-render
107
+
// in case a panel is reloaded and errors again
108
+
setInitialData([]);
109
+
},[]);
98
110
99
111
// Tracks whether the panel is open and that we have emitted the onOpen event
100
112
constisPanelOpenRef=useRef(false);
@@ -236,13 +248,13 @@ function ReactPanel({
236
248
rowGap={rowGap}
237
249
columnGap={columnGap}
238
250
>
239
-
<ReactPanelErrorBoundary>
251
+
<ReactPanelErrorBoundaryonReset={onErrorReset}>
240
252
{/**
241
253
* Don't render the children if there's an error with the widget. If there's an error with the widget, we can assume the children won't render properly,
242
254
* but we still want the panels to appear so things don't disappear/jump around.
0 commit comments