diff --git a/README.md b/README.md index dabbeb14f..57d283785 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ It is certainly possible to create a great app using React Native without writin - (void)processString:(NSString *)input callback:(RCTResponseSenderBlock)callback { RCT_EXPORT(); // available as NativeModules.MyCustomModule.processString - callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"];]]); + callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"]]); } @end ```