diff --git a/src/components/IsUnlocked/index.js b/src/components/IsUnlocked.js similarity index 97% rename from src/components/IsUnlocked/index.js rename to src/components/IsUnlocked.js index 13e21ba4..36336fcb 100644 --- a/src/components/IsUnlocked/index.js +++ b/src/components/IsUnlocked.js @@ -81,6 +81,10 @@ class IsUnlocked extends Component { return true } + if (!nextProps.isLocked && this.props.isLocked) { + return true + } + return nextProps.children !== this.props.children }