Skip to content

Commit d414d50

Browse files
authored
fix: useExecutorchModule not working (#636)
## Description fix useExecutorchModule not working ### Introduces a breaking change? - [ ] Yes - [x] No ### Type of change - [x] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [ ] Documentation update (improves or adds clarity to existing documentation) - [ ] Other (chores, tests, code style improvements etc.) ### Tested on - [x] iOS - [ ] Android ### Checklist - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [x] My changes generate no new warnings
1 parent 0c7dcef commit d414d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native-executorch/src/hooks/general/useExecutorchModule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ export const useExecutorchModule = ({
1313
}: Props) =>
1414
useModule({
1515
module: ExecutorchModule,
16-
model: { modelSource },
16+
model: modelSource,
1717
preventLoad,
1818
});

0 commit comments

Comments
 (0)