From 2efd0119e229abd0f9afebdbad0fe5604c4c2fe5 Mon Sep 17 00:00:00 2001 From: modernlegend Date: Thu, 17 Sep 2015 23:00:25 -0400 Subject: [PATCH] took out the typecasting to dry up the code since the parameterr passed must be a booelan --- examples/auth-flow/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/auth-flow/app.js b/examples/auth-flow/app.js index 517663379f..ddb1949cdb 100644 --- a/examples/auth-flow/app.js +++ b/examples/auth-flow/app.js @@ -11,7 +11,7 @@ var App = React.createClass({ updateAuth(loggedIn) { this.setState({ - loggedIn: !!loggedIn + loggedIn: loggedIn }); },