Skip to content

Commit

Permalink
refactor: remove console.log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
ehrdi committed Aug 6, 2024
1 parent a455859 commit b6eca3e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/lib/PCPCreditCardTokenizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,7 @@ export class PCPCreditCardTokenizer {
const submitButtonElement =
this.config.submitButton.element ||
document.querySelector(this.config.submitButton.selector as string);
console.log(
'submitButtonElement',
submitButtonElement,
this.config.submitButton.selector,
);

if (!submitButtonElement) {
throw new Error(
`Submit Button not present. Please provide a valid selector or element.`,
Expand Down

0 comments on commit b6eca3e

Please sign in to comment.