@dump247/storybook-state
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -94,4 +94,5 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
var storyState = this.state.storyState; | ||
var active = this.props.active; | ||
if (storyState === null) { | ||
if (active === false || storyState === null) { | ||
return null; | ||
@@ -98,0 +99,0 @@ } |
{ | ||
"name": "@dump247/storybook-state", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Manage component state in storybook stories.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -74,4 +74,5 @@ import React from 'react'; | ||
const { storyState } = this.state; | ||
const { active } = this.props; | ||
if (storyState === null) { | ||
if (active === false || storyState === null) { | ||
return null; | ||
@@ -78,0 +79,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
30754
619