diff --git a/app/store/ephemeral_store.js b/app/store/ephemeral_store.js index 22d7fecb2..c9b439069 100644 --- a/app/store/ephemeral_store.js +++ b/app/store/ephemeral_store.js @@ -58,7 +58,7 @@ class EphemeralStore { removeNavigationComponentId = (componentId) => { const index = this.navigationComponentIdStack.indexOf(componentId); - if (index >= 0) { + if (index > 0) { this.navigationComponentIdStack.splice(index, 1); } }