From 7cdd4d48c89ad642a1c107e0b40c25eb75682175 Mon Sep 17 00:00:00 2001 From: Valentin Shergin Date: Tue, 11 Jul 2017 12:28:46 -0700 Subject: [PATCH] Nits: `[NSNull null] was changed to `(id)kCFNull` Reviewed By: javache Differential Revision: D5398734 fbshipit-source-id: 823e860b5da9cc9850fafa49c1d9b746580856b0 --- React/Views/RCTComponentData.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Views/RCTComponentData.m b/React/Views/RCTComponentData.m index 7ebe7673e..44bde138c 100644 --- a/React/Views/RCTComponentData.m +++ b/React/Views/RCTComponentData.m @@ -430,7 +430,7 @@ static RCTPropBlock createNSInvocationSetter(NSMethodSignature *typeSignature, S @"propTypes": propTypes, @"directEvents": directEvents, @"bubblingEvents": bubblingEvents, - @"baseModuleName": superClass == [NSObject class] ? [NSNull null] : moduleNameForClass(superClass) + @"baseModuleName": superClass == [NSObject class] ? (id)kCFNull : moduleNameForClass(superClass), }; }