[ReactNative] Remove pushNotification prop from renderApplication

This commit is contained in:
Eric Vicenti 2015-03-17 12:21:14 -07:00
Родитель d5d9d9b9c1
Коммит 2aafcd0e58
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -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