diff --git a/CardStack.js b/CardStack.js index b83f65c..5fdcb12 100644 --- a/CardStack.js +++ b/CardStack.js @@ -161,7 +161,8 @@ class CardStack extends Component { } return true; } - if (a.key !== b.key) return false; + if(a !== null) + if (a.key !== b.key) return false; return true }