Skip to content

Commit ed370ee

Browse files
committed
fix objc syntax error
1 parent 02298b5 commit ed370ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ It is certainly possible to create a great app using React Native without writin
133133
- (void)processString:(NSString *)input callback:(RCTResponseSenderBlock)callback
134134
{
135135
RCT_EXPORT(); // available as NativeModules.MyCustomModule.processString
136-
callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"];]]);
136+
callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"]]);
137137
}
138138
@end
139139
```

0 commit comments

Comments
 (0)