Shopify / polaris

Shopify’s design system to help us work together to build a great experience for all of our merchants.
https://polaris.shopify.com
Other
5.77k stars 1.17k forks source link

node_modules\@shopify\polaris\build\esm\utilities\use-theme.js #11766

Open Jawad-ahmed1997 opened 6 months ago

Jawad-ahmed1997 commented 6 months ago

Summary

Server Error Error: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function

This error happened while generating the page. Any console logs will be displayed in the terminal window. Call Stack eval node_modules\@shopify\polaris\build\esm\utilities\use-theme.js (7:48) (rsc)/./node_modules/@shopify/polaris/build/esm/utilities/use-theme.js file:///D:/old%20window%20data/Jawad/Next/ecommerce-main/ecommerce-main/.next/server/vendor-chunks/@shopify.js (310:1) webpack_require file:///D:/old%20window%20data/Jawad/Next/ecommerce-main/ecommerce-main/.next/server/webpack-runtime.js (33:42) eval webpack-internal:///(rsc)/./node_modules/@shopify/polaris/build/esm/components/AppProvider/AppProvider.js (8:81) (rsc)/./node_modules/@shopify/polaris/build/esm/components/AppProvider/AppProvider.js file:///D:/old%20window%20data/Jawad/Next/ecommerce-main/ecommerce-main/.next/server/vendor-chunks/@shopify.js (30:1) webpack_require file:///D:/old%20window%20data/Jawad/Next/ecommerce-main/ecommerce-main/.next/server/webpack-runtime.js (33:42) eval

Expected behavior

No response

Actual behavior

Wrap animated gifs/videos in a details tag:

Summary of your gif(s) Description of what the gif shows

Steps to reproduce

[Link to sandbox]()

Are you using React components?

None

Polaris version number

"@shopify/polaris": "^12.21.0",

Browser

googlechrome

Device

dell latitude

github-actions[bot] commented 1 week ago

Hi! We noticed there hasn’t been activity on this issue in a while. After 30 days, it will close automatically.

If it’s still relevant, or you have updates, comment and let us know. And don’t worry, you can always re-open later if needed.