react-media-hook
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -11,2 +11,5 @@ var React = require('react') | ||
function omitMatchMediaResult (matchMediaResult) { | ||
if (!matchMediaResult) { | ||
return null | ||
} | ||
return { media: matchMediaResult.media, matches: matchMediaResult.matches } | ||
@@ -13,0 +16,0 @@ } |
{ | ||
"name": "react-media-hook", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "React Hook for media query", | ||
@@ -17,3 +17,3 @@ "scripts": { | ||
], | ||
"limit": "181 B", | ||
"limit": "186 B", | ||
"path": "./index.js" | ||
@@ -20,0 +20,0 @@ } |
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
4438
38