mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 14:13:26 +00:00
[ReactNative] Navigator.Interceptor handler arg fix
This commit is contained in:
parent
4bd56ca6d1
commit
6abf37b47e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user