[ReactNative] Remove pushNotification prop from renderApplication
This commit is contained in:
parent
d5d9d9b9c1
commit
2aafcd0e58
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
'use strict';
|
||||
|
||||
var PushNotificationIOS = require('PushNotificationIOS');
|
||||
var React = require('React');
|
||||
|
||||
var invariant = require('invariant');
|
||||
|
@ -15,10 +14,8 @@ function renderApplication(RootComponent, initialProps, rootTag) {
|
|||
rootTag,
|
||||
'Expect to have a valid rootTag, instead got ', rootTag
|
||||
);
|
||||
var initialNotification = PushNotificationIOS.popInitialNotification();
|
||||
React.render(
|
||||
React.render(
|
||||
<RootComponent
|
||||
pushNotification={initialNotification}
|
||||
{...initialProps}
|
||||
/>,
|
||||
rootTag
|
||||
|
|
Loading…
Reference in New Issue