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
Expected behavior:
I expect when I add the link:true option to createUseStyles from jss-react the following warning should not show up in my terminal: Warning: [JSS] Rule is not linked. Missing sheet option "link: true".
Describe the bug:
I've been setting up css using the createUseStyles function from react-jss. I get the following error: Warning: [JSS] Rule is not linked. Missing sheet option "link: true".
I read up on the docs a little and I found you can add the link option as an optional behaviour to your createUseStyles function. Sadly, this does not resolve the issue.
I checked the types of the createUseStyles function, it does indeed extend off the "StyleSheetFactoryOptions" type with the link?: boolean added.
Versions (please complete the following information):
react-jss: 10.0.0
Browser [e.g. chrome, safari]: N/A
OS [e.g. Windows, macOS]: MacOS
React: 18.2.0
Node: 18.10.0
The text was updated successfully, but these errors were encountered:
Expected behavior:
I expect when I add the
link:true
option tocreateUseStyles
fromjss-react
the following warning should not show up in my terminal: Warning: [JSS] Rule is not linked. Missing sheet option "link: true".Describe the bug:
I've been setting up css using the
createUseStyles
function fromreact-jss
. I get the following error: Warning: [JSS] Rule is not linked. Missing sheet option "link: true".I read up on the docs a little and I found you can add the link option as an optional behaviour to your
createUseStyles
function. Sadly, this does not resolve the issue.I checked the types of the
createUseStyles
function, it does indeed extend off the "StyleSheetFactoryOptions" type with thelink?: boolean
added.Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: