Open maxaggedon opened 11 months ago
Describe the bug Consuming a react context with useContext(ThemeContext) yields an error :
useContext(ThemeContext)
TypeError: Cannot read properties of null (reading 'useContext')
To Reproduce Steps to reproduce the behavior:
Provider
yarn preview
Expected behavior Same rendering as in exported templates
Desktop (please complete the following information):
Check these conversations https://github.com/sofn-xyz/mailing/issues/276 https://github.com/sofn-xyz/mailing/issues/426
Describe the bug Consuming a react context with
useContext(ThemeContext)
yields an error :To Reproduce Steps to reproduce the behavior:
Provider
in your layoutyarn preview
Expected behavior Same rendering as in exported templates
Desktop (please complete the following information):