Shopify / blockchain-components

Blockchain related React UI components for Shopify storefronts
https://blockchain.shopify.dev
MIT License
81 stars 18 forks source link

🔇 Removes debug logs for i18n context in non-dev runtimes #190

Closed QuintonC closed 1 year ago

QuintonC commented 1 year ago

ℹ️ What is the context for these changes?

Utilizes process.env.NODE_ENV to conditionally enable the debug flag for i18n context. This will remove the logging that we previously saw in the console relating to i18n context.

🕹️ Demonstration

Before After
Screenshot 2023-05-16 at 4 25 59 PM Screenshot 2023-05-16 at 4 42 09 PM

🎩 How can this be tophatted?

  1. Pull main.
  2. yarn install
  3. yarn example a. Run any example
  4. When the app launches you will see logging from the connect-wallet package.

Repeat the steps above, but instead of pulling main, pull this branch.

✅ Checklist