Skip to content

Commit

Permalink
error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
bkb3 committed Jan 11, 2021
1 parent 276de00 commit 6818f04
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/components/Sodope/result/Result.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,17 @@ class SodopeResults extends Component {
<Fragment key="domain-graphics">
<div ref={this.domainsRef}>
{!this.props.isServerError ? (
data === ""? (
data === "" ? (
<Skeleton animation="wave" height={40} />
) : null
) : (
<div
style={{
height: 25,
backgroundColor: "#e0e0e0",
marginBottom: -32,
}}
></div>
)
) : (
<div
style={{
Expand Down

0 comments on commit 6818f04

Please sign in to comment.