[ReactNative] Remove pushNotification prop from renderApplication

This commit is contained in:
Eric Vicenti 2015-03-17 12:21:14 -07:00
parent d5d9d9b9c1
commit 2aafcd0e58
1 changed files with 1 additions and 4 deletions

View File

@ -5,7 +5,6 @@
*/ */
'use strict'; 'use strict';
var PushNotificationIOS = require('PushNotificationIOS');
var React = require('React'); var React = require('React');
var invariant = require('invariant'); var invariant = require('invariant');
@ -15,10 +14,8 @@ function renderApplication(RootComponent, initialProps, rootTag) {
rootTag, rootTag,
'Expect to have a valid rootTag, instead got ', rootTag 'Expect to have a valid rootTag, instead got ', rootTag
); );
var initialNotification = PushNotificationIOS.popInitialNotification(); React.render(
React.render(
<RootComponent <RootComponent
pushNotification={initialNotification}
{...initialProps} {...initialProps}
/>, />,
rootTag rootTag