From f2807d03afab34684361a4c5585e3e8887e2dd61 Mon Sep 17 00:00:00 2001 From: ctapang Date: Mon, 11 Dec 2023 13:30:31 -0800 Subject: [PATCH] Use button instead of input --- package.json | 2 +- src/index.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 77a02cd..61dd358 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sendroks/react-coinbase-commerce", - "version": "0.0.10", + "version": "0.0.11", "description": "A react component to easily embed a Coinbase Commerce Checkout within your application", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", diff --git a/src/index.tsx b/src/index.tsx index ae45511..ea79742 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -93,7 +93,9 @@ export class CoinbaseCommerceButton extends Component ) : ( - this.onClick()} className="coinbase-commerce-button" /> + )} )