Closed lexstefan closed 3 years ago
Thanks for the PR! The check wasn't 100% correct and I wanted to place it somewhere else so I credited you in this commit: https://github.com/gatsbyjs/gatsby-starter-shopify/commit/60fcff9119fd0eed738506921adbd7c0dcf38bb2
the typeof isDemoStore evaluates to string. because of this, line 113 will always evaluate to true weather the value of isDemoStore is true or false. so in order for the checkout button to NOT BE DISABLED we need to explicitly check if the value of isDemoStore is actually true