[ReactNative] Navigator.Interceptor handler arg fix

This commit is contained in:
Eric Vicenti 2015-05-01 14:17:02 -07:00
parent 4bd56ca6d1
commit 6abf37b47e
1 changed files with 2 additions and 2 deletions

View File

@ -78,9 +78,9 @@ var NavigatorInterceptor = React.createClass({
}
switch (action) {
case 'pop':
return this.props.onPopRequest && this.props.onPopRequest(action, arg1, arg2);
return this.props.onPopRequest && this.props.onPopRequest(arg1, arg2);
case 'push':
return this.props.onPushRequest && this.props.onPushRequest(action, arg1, arg2);
return this.props.onPushRequest && this.props.onPushRequest(arg1, arg2);
default:
return false;
}