Skip to content

Commit

Permalink
Hides name when it's not required
Browse files Browse the repository at this point in the history
  • Loading branch information
sbycrosz committed Dec 6, 2016
1 parent bf77a29 commit a70fa79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CreditCardInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default class CreditCardInput extends Component {
brand={type}
imageFront={imageFront}
imageBack={imageBack}
name={name}
name={requiresName ? name : " "}
number={number}
expiry={expiry}
cvc={cvc} />
Expand Down

0 comments on commit a70fa79

Please sign in to comment.