Skip to content

Commit aef1f76

Browse files
authored
Update packages/react-native-executorch/src/controllers/BaseOCRController.ts
1 parent 3da1cbf commit aef1f76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native-executorch/src/controllers/BaseOCRController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export abstract class BaseOCRController {
7676
e &&
7777
typeof e === 'object' &&
7878
'code' in e &&
79-
e.code == RnExecutorchErrorCode.NotImplemented
79+
e.code === RnExecutorchErrorCode.NotImplemented
8080
) {
8181
Logger.error('Load failed:', e);
8282
} else if (this.errorCallback) {

0 commit comments

Comments
 (0)