Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Jul 23, 2020
1 parent c3bef45 commit 86e6048
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
6 changes: 5 additions & 1 deletion client/components/Loading/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ const Loading = ({ card = {}, group = {}, size = 'medium', children }) => {
) : (
<Card.Group doubling style={groupStyle} itemsPerRow={card.cols}>
{Array.from({ length: card.cols * card.rows }, (_, index) => (
<Card className="loading__multi-card" key={`placeholder-${index}-${counter++}`} style={cardStyle}>
<Card
className="loading__multi-card"
key={`placeholder-${index}-${counter++}`}
style={cardStyle}
>
<Card.Content className="loading__content" style={cardContentStyle}>
<Placeholder>
<Placeholder.Image square />
Expand Down
9 changes: 4 additions & 5 deletions client/routes/Navigation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,13 @@ class Navigation extends Component {
</Menu>
);


return IS_ON_MOBILE ? (
<div>
<Sticky>
{topLevelNavigation}
</Sticky>
<Sticky>{topLevelNavigation}</Sticky>
</div>
) : topLevelNavigation;
) : (
topLevelNavigation
);
}
}

Expand Down

0 comments on commit 86e6048

Please sign in to comment.