@material-ui/styles
Advanced tools
Comparing version 3.0.0-alpha.7 to 3.0.0-alpha.8
@@ -68,11 +68,9 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
React.useEffect(() => { | ||
return function cleanup() { | ||
detach({ | ||
state, | ||
stylesCreator, | ||
stylesOptions, | ||
theme | ||
}); | ||
}; | ||
React.useEffect(() => function cleanup() { | ||
detach({ | ||
state, | ||
stylesCreator, | ||
stylesOptions, | ||
theme | ||
}); | ||
}, [theme]); | ||
@@ -79,0 +77,0 @@ return getClasses({ |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v3.0.0-alpha.7 | ||
/** @license Material-UI v3.0.0-alpha.8 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v3.0.0-alpha.7 | ||
/** @license Material-UI v3.0.0-alpha.8 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -5,3 +5,3 @@ { | ||
"author": "Material-UI Team", | ||
"version": "3.0.0-alpha.7", | ||
"version": "3.0.0-alpha.8", | ||
"description": "Material-UI Styles - The styling solution of Material-UI.", | ||
@@ -35,2 +35,3 @@ "main": "./index.js", | ||
"deepmerge": "^3.0.0", | ||
"hoist-non-react-statics": "^3.2.1", | ||
"jss": "^10.0.0-alpha.7", | ||
@@ -37,0 +38,0 @@ "jss-plugin-camel-case": "^10.0.0-alpha.7", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101278
18
2463
+ Addedhoist-non-react-statics@3.3.2(transitive)