mirror of
https://github.com/status-im/react-native.git
synced 2025-01-15 20:15:11 +00:00
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…
x
Reference in New Issue
Block a user