From 4d94de69d72fb18d43ca85850f5339b7bba81598 Mon Sep 17 00:00:00 2001 From: Atrox Date: Wed, 23 Jun 2021 20:49:38 +0200 Subject: [PATCH] 0.64: remove unused failureCallback in example --- website/versioned_docs/version-0.64/native-modules-android.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/versioned_docs/version-0.64/native-modules-android.md b/website/versioned_docs/version-0.64/native-modules-android.md index f5e181e5138..e2b598d206d 100644 --- a/website/versioned_docs/version-0.64/native-modules-android.md +++ b/website/versioned_docs/version-0.64/native-modules-android.md @@ -392,7 +392,7 @@ There are two approaches to error handling with callbacks. The first is to follo ```java @ReactMethod -public void createCalendarEvent(String name, String location, Callback myFailureCallback, Callback callBack) { +public void createCalendarEvent(String name, String location, Callback callBack) { Integer eventId = ... callBack.invoke(null, eventId); }