The issue is upon clicking Add (after selecting a product), the onSelection callback is not working, the console log does not run, nothing runs inside of this.
Expected behaviour
Code inside onSelection to run`
Contextual information
Packages and versions
List the relevant packages you’re using, and their versions. For example:
Describe the bug
I'm using the following component:
The issue is upon clicking Add (after selecting a product), the
onSelection
callback is not working, the console log does not run, nothing runs inside of this.Expected behaviour
Code inside
onSelection
to run`Contextual information
Packages and versions
List the relevant packages you’re using, and their versions. For example:
@shopify/app-bridge
@^3.5.0
@shopify/app-bridge-react
@^3.5.0