Skip to content

Commit

Permalink
[frontend] fix CI (#5548-support-logs)
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahBocognano committed May 2, 2024
1 parent 144862e commit 0a33b4e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,9 @@ const PlaybookComponent = ({ playbook, playbookComponents }) => {
/>
<PlaybookHeader playbook={playbook} />
<ErrorBoundary
display={
<div style={{ paddingTop: 28 }}>
<SimpleError />
</div>
display={(errorData) => <div style={{ paddingTop: 28 }}>
<SimpleError errorData={errorData}/>
</div>
}
>
<div className={classes.container} style={{ width, height }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -808,10 +808,9 @@ const DashboardComponent = ({ workspace, noToolbar }) => {
/>
)}
<ErrorBoundary
display={
<div style={{ paddingTop: 28 }}>
<SimpleError/>
</div>
display={(errorData) => <div style={{ paddingTop: 28 }}>
<SimpleError errorData={errorData}/>
</div>
}
>
{widget.perspective === 'entities'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,9 @@ const PublicDashboardComponent = ({
}}
>
<ErrorBoundary
display={
<div style={{ paddingTop: 28 }}>
<SimpleError />
</div>
display={(errorData: unknown) => <div style={{ paddingTop: 28 }}>
<SimpleError errorData={errorData}/>
</div>
}
>
{widget.perspective === 'entities' && entityWidget(widget)}
Expand Down

0 comments on commit 0a33b4e

Please sign in to comment.