You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AppProvider creates i18n context, but it doesn't allow passing currency or the default manager. Best would be to export DiscountsI18nProvider and let people use that, because if they already use the AppProvider from i18n package, discount provider interferes and resets the manager.
Expected behavior
Actual behavior
Steps to reproduce the problem
First step
Second step
Reduced test case
The best way to get your bug fixed is to provide a reduced test case. This CodeSandbox template is a great starting point.
Specifications
Are you using the React components? (Y/N):
discount-app-components version number:
Browser:
Device:
Operating System:
Or run npx envinfo --system --binaries --browsers --npmPackages react,react-dom,@shopify/discount-app-components to provide specifications on your environment including version numbers, browser, device, and operating system.
Paste the results here:
The text was updated successfully, but these errors were encountered:
Issue summary
AppProvider
creates i18n context, but it doesn't allow passingcurrency
or the default manager. Best would be to export DiscountsI18nProvider and let people use that, because if they already use the AppProvider from i18n package, discount provider interferes and resets the manager.Expected behavior
Actual behavior
Steps to reproduce the problem
Reduced test case
The best way to get your bug fixed is to provide a reduced test case. This CodeSandbox template is a great starting point.
Specifications
Or run
npx envinfo --system --binaries --browsers --npmPackages react,react-dom,@shopify/discount-app-components
to provide specifications on your environment including version numbers, browser, device, and operating system.Paste the results here:
The text was updated successfully, but these errors were encountered: