mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 20:44:10 +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) {
|
switch (action) {
|
||||||
case 'pop':
|
case 'pop':
|
||||||
return this.props.onPopRequest && this.props.onPopRequest(action, arg1, arg2);
|
return this.props.onPopRequest && this.props.onPopRequest(arg1, arg2);
|
||||||
case 'push':
|
case 'push':
|
||||||
return this.props.onPushRequest && this.props.onPushRequest(action, arg1, arg2);
|
return this.props.onPushRequest && this.props.onPushRequest(arg1, arg2);
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user