Skip to content

Commit

Permalink
Remove unintentional code
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrunyon committed Nov 13, 2024
1 parent f7f250f commit 70bb5a8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions plugins/ui/src/js/src/layout/ReactPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,7 @@ function ReactPanel({

let renderedChildren: React.ReactNode;
if (widgetStatus.status === 'loading') {
renderedChildren = (
<>
<LoadingOverlay />
{children}
</>
);
renderedChildren = <LoadingOverlay />;
} else if (widgetStatus.status === 'error') {
renderedChildren = <WidgetErrorView error={widgetStatus.error} />;
} else {
Expand Down

0 comments on commit 70bb5a8

Please sign in to comment.