Commit cb91faa
Remove redundant Promise safe calls (#58790)
Summary:
Pull Request resolved: #58790
Call the non-null Promise parameter directly in the sample TurboModule implementation.
Changelog: [Internal]
Differential Revision: D122212851
fbshipit-source-id: cb08ff3e092ddb2ba6d5224d849380026e8955451 parent be9fbdd commit cb91faa
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- packages/react-native/ReactCommon/react/nativemodule/samples/platform/android
packages/react-native/ReactCommon/react/nativemodule/samples/platform/android/SampleTurboModule.kt
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| |||
0 commit comments