Skip to content

Commit

Permalink
pad the ErrorBoundary
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jan 16, 2025
1 parent c65b098 commit 2b87057
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions superset-frontend/src/views/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,11 @@ const App = () => (
<Route path={path} key={path}>
<Suspense fallback={<Fallback />}>
<Layout.Content>
<ErrorBoundary>
<Component user={bootstrapData.user} {...props} />
</ErrorBoundary>
<div style={{ padding: '16px' }}>
<ErrorBoundary>
<Component user={bootstrapData.user} {...props} />
</ErrorBoundary>
</div>
</Layout.Content>
</Suspense>
</Route>
Expand Down

0 comments on commit 2b87057

Please sign in to comment.