From 36703bebcb4bcdb489be8935c5a48196c09cfc4b Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Fri, 28 Aug 2015 13:37:03 -0700 Subject: [PATCH] fix for last fix to example --- examples/ReactExample/index.ios.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ReactExample/index.ios.js b/examples/ReactExample/index.ios.js index 556f0b70..7b9e79d3 100644 --- a/examples/ReactExample/index.ios.js +++ b/examples/ReactExample/index.ios.js @@ -42,7 +42,7 @@ class Edit extends React.Component { save() { realm.write(function () { - if (id == this.props.list.items.length) { + if (this.props.todoId == this.props.list.items.length) { this.props.list.items.push({text: this.state.text}); } else {