Skip to content

Commit

Permalink
squish cardcontent to match convention
Browse files Browse the repository at this point in the history
  • Loading branch information
iandunn committed May 16, 2023
1 parent 845485b commit becdb2c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions settings/src/components/account-status.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ function SettingStatusCard( { screen, status, headerText, bodyText, disabled = f

return (
<Card className={ classes }>
{ disabled && cardContent }

{ ! disabled && <ScreenLink screen={ screen } anchorText={ cardContent } /> }
{ disabled ? cardContent : <ScreenLink screen={ screen } anchorText={ cardContent } /> }
</Card>
);
}
Expand Down

0 comments on commit becdb2c

Please sign in to comment.