Skip to content

Commit

Permalink
fix: onError callback not called for @google-pay/button-react - fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
dmengelt committed Dec 12, 2022
1 parent 7cf8cf9 commit 73c518c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/button-react/GooglePayButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export default class GooglePayButton extends React.Component<Props> {
async componentDidMount(): Promise<void> {
const element = this.elementRef.current;
if (element) {
await this.manager.configure(this.props);
await this.manager.mount(element);
this.manager.configure(this.props);
}
}

Expand Down

0 comments on commit 73c518c

Please sign in to comment.