react-useportal
Advanced tools
Comparing version 0.1.41 to 0.1.42
@@ -16,2 +16,3 @@ "use strict"; | ||
}, []); | ||
// if we're not on the browser, don't continue | ||
if (!isBrowser.current) | ||
@@ -31,3 +32,2 @@ return Object.assign([emptyFunction, emptyFunction, false, emptyFunction], { | ||
}); | ||
// const [isClient, setIsClient] = useState(process.browser) | ||
const [isOpen, makeOpen] = react_1.useState(defaultIsOpen); | ||
@@ -34,0 +34,0 @@ const open = react_1.useRef(isOpen); |
{ | ||
"name": "react-useportal", | ||
"version": "0.1.41", | ||
"version": "0.1.42", | ||
"homepage": "https://codesandbox.io/s/w6jp7z4pkk", | ||
@@ -5,0 +5,0 @@ "main": "dist/usePortal.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
437755