Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit cd355cb

Browse files
authored
fix broken isInitialized function (#46)
1 parent d1c8c97 commit cd355cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export default class LDClient {
172172

173173
isInitialized() {
174174
if(Platform.OS === 'android') {
175-
return LaunchdarklyReactNativeClient.isInitialized(promise);
175+
return LaunchdarklyReactNativeClient.isInitialized();
176176
} else {
177177
return Promise.reject("Function is not available on this platform");
178178
}

0 commit comments

Comments
 (0)