Skip to content

Commit

Permalink
Fixes liferay#1829 - Remove unnecessary checks
Browse files Browse the repository at this point in the history
  • Loading branch information
matuzalemsteles authored and diegonvs committed May 27, 2019
1 parent a7174eb commit e0f78a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/clay-modal/src/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ export interface FooterProps {

const Footer: FunctionComponent<FooterProps> = ({first, last, middle}) => (
<div className="modal-footer">
<div className="modal-item-first">{first && first}</div>
<div className="modal-item">{middle && middle}</div>
<div className="modal-item-last">{last && last}</div>
<div className="modal-item-first">{first}</div>
<div className="modal-item">{middle}</div>
<div className="modal-item-last">{last}</div>
</div>
);

Expand Down

0 comments on commit e0f78a3

Please sign in to comment.