Skip to content

Commit 821d1ed

Browse files
committed
remove useless stuff
1 parent 96b6957 commit 821d1ed

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

packages/react-native-executorch/src/hooks/useModule.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,6 @@ export const useModule = <
7373
}
7474
};
7575

76-
const forwardGeneric = async (
77-
...input: ForwardArgs
78-
): Promise<ForwardReturn> => {
79-
return await forward(...input);
80-
};
81-
8276
return {
8377
/**
8478
* Contains the error message if the model failed to load.
@@ -100,6 +94,5 @@ export const useModule = <
10094
*/
10195
downloadProgress,
10296
forward,
103-
forwardGeneric,
10497
};
10598
};

0 commit comments

Comments
 (0)