Skip to content

Commit

Permalink
place message below the header
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane98c committed Oct 16, 2024
1 parent 6483f50 commit acbbf03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error-boundary.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ErrorBoundary extends React.Component {
if (this.state.errorMessage) {
// You can render any custom fallback UI
return (
<div style={{ textAlign: 'center', padding: 24 }}>
<div style={{ textAlign: 'center', padding: 24, marginTop: '56px' }}>
{this.props.showErrorTrace ? this.state.errorMessage : DEFAULT_ERROR}
</div>
)
Expand Down

0 comments on commit acbbf03

Please sign in to comment.