Skip to content

Commit

Permalink
Fix issue with error message
Browse files Browse the repository at this point in the history
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
  • Loading branch information
cynthia-sg committed Jul 20, 2023
1 parent 0d9ef00 commit 3e4c527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/layout/audit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -360,15 +360,15 @@ const Audit = () => {
{!isNull(apiError) && (
<NoData className={styles.extraMargin}>
<>
<div className="h2">{apiError.text}</div>
<div className="h3">{apiError.text}</div>
{apiError.withLegend && <p className="mt-4 mt-lg-5 h5 mb-0">Please try again later.</p>}
</>
</NoData>
)}

{changes && (
<>
{isEmpty(changes) ? (
{isEmpty(changes) && !isNull(apiError) ? (
<NoData>
<div className="h4">
We're sorry!
Expand Down

0 comments on commit 3e4c527

Please sign in to comment.