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
Please note that you have a small typo on line 39 of cardbodystyle.jsx ... the 'h1, h2, h3' subselector is missing the '&'.
For some reason this didn't show up during development. I'm using Gatsby and it only showed up when I'm using the gatsby-plugin-material-ui plugin, and then do a production build. It complained of an invalid word in CSS, and through process of elimination, I figured out the error was on this line of code...
Thank you for your interest in working with our product and for sharing with us this bug.
I believe in one of the material-ui updates, they've made some changes on the way jss is compiled to css, since that line worked some versions back.
Anyway, your fix works beautifully. Once again thank you.
Version
1.7.0
Reproduction link
hupe1980/gatsby-plugin-material-ui#31
Steps to reproduce
Please note that you have a small typo on line 39 of cardbodystyle.jsx ... the 'h1, h2, h3' subselector is missing the '&'.
For some reason this didn't show up during development. I'm using Gatsby and it only showed up when I'm using the gatsby-plugin-material-ui plugin, and then do a production build. It complained of an invalid word in CSS, and through process of elimination, I figured out the error was on this line of code...
What is expected?
The subselector should start with '&'
What is actually happening?
There's no '&'
Solution
Add an ampersand to line 39
Additional comments
If this fix is incorrect, please let me know!
The text was updated successfully, but these errors were encountered: