diff --git a/index.html b/index.html index 6b100b18152..389c01d0f67 100644 --- a/index.html +++ b/index.html @@ -87,7 +87,7 @@ // Available as NativeModules.MyCustomModule.processString RCT_EXPORT_METHOD(processString:(NSString *)input callback:(RCTResponseSenderBlock)callback) { - callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"];]]); + callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"]]); } @end
// JavaScript