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
import{css}from'@emotion/core';// error: } expectedcss(css-rcurlyexpected)// and syntax highlighting is broken// it should conflict with styled-jsx's `css.resolve` and `css.global`constclassName=css` text-align: center;`;constButton=()=>{return(<button// same problem as abovecss={css` text-align: center; `}/>);};
Hope this conflict can be resolved 🙏
The text was updated successfully, but these errors were encountered:
@u3u Yes, that's a known issue, we can't do anything about that (as I'm aware).
But as a workaround, you can disable/enable the 2 extensions. If you're working with styled-jsx components, enable this extension and disable the other one and the contrary if you're working with styled-components.
Steps To Reproduce
The current behavior
Hope this conflict can be resolved 🙏
The text was updated successfully, but these errors were encountered: