Fixed double initial prop applying for newly created views

Summary: This is a leftover from recent changes in D6595780 where a prop application step was moved out to separare mount block.

Differential Revision: D6640736

fbshipit-source-id: 70de0f55f992a7912e222ec4bf9ade1c9bad99f2
This commit is contained in:
Valentin Shergin 2017-12-27 17:38:21 -08:00 committed by Facebook Github Bot
parent 1fd7315c3b
commit 0ec1017660
1 changed files with 0 additions and 1 deletions

View File

@ -974,7 +974,6 @@ RCT_EXPORT_METHOD(createView:(nonnull NSNumber *)reactTag
}
UIView *view = [componentData createViewWithTag:reactTag];
if (view) {
[componentData setProps:props forView:view];
uiManager->_viewRegistry[reactTag] = view;
}
});