Skip to content

Commit 8041ed1

Browse files
committed
fix: ensure loadClassification is installed
1 parent 9bdeff4 commit 8041ed1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • packages/react-native-executorch/src

packages/react-native-executorch/src/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ declare global {
1313
if (
1414
global.loadStyleTransfer == null ||
1515
global.loadImageSegmentation == null ||
16-
global.loadExecutorchModule == null
16+
global.loadExecutorchModule == null ||
17+
global.loadClassification == null
1718
) {
1819
if (!ETInstallerNativeModule) {
1920
throw new Error(

0 commit comments

Comments
 (0)