mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 04:24:15 +00:00
Merge pull request #4744 from zjlovezj/patch-2
fix sample code error by removing the extra chars
This commit is contained in:
commit
c2b38c9113
@ -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