fix sample code error by removing the extra chars
fix sample code error by removing the extra ',' and ')'
This commit is contained in:
parent
23e0945c93
commit
e6c8848c07
|
@ -181,8 +181,8 @@ Refactoring the above code to use a promise instead of callbacks looks like this
|
|||
|
||||
```objective-c
|
||||
RCT_REMAP_METHOD(findEvents,
|
||||
resolver:(RCTPromiseResolveBlock)resolve,
|
||||
rejecter:(RCTPromiseRejectBlock)reject))
|
||||
resolver:(RCTPromiseResolveBlock)resolve
|
||||
rejecter:(RCTPromiseRejectBlock)reject)
|
||||
{
|
||||
NSArray *events = ...
|
||||
if (events) {
|
||||
|
|
Loading…
Reference in New Issue