ff-stream-web

git clone git://archive.git.mtrnord.blog/MTRNord/ff-stream-web.git
Log | Files | Refs | README | LICENSE

commit 1fb48fd8ebe04b9e0c49ae5bbf3a49475b6becec
parent a17027f88029a97e5d31c821f813bea4be3ff9f3
Author: Konstantin Tarkus <hello@tarkus.me>
Date:   Wed,  1 Oct 2014 02:25:41 +0400

Update App.js

Diffstat:
Msrc/App.js | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/App.js b/src/App.js @@ -23,10 +23,8 @@ AppDispatcher.register(function(payload) { var action = payload.action; - switch (action.actionType) { - case ActionTypes.SET_CURRENT_ROUTE: + if (action.actionType === ActionTypes.SET_CURRENT_ROUTE) { router.setRoute(action.route); - break; } return true; // No errors. Needed by promise in Dispatcher.