Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed Sep 23, 2024
1 parent 6804ed9 commit 0e11c70
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
3 changes: 0 additions & 3 deletions mpc-core-kit-react-native/mpc-core-kit-expo-auth0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ This is an [Expo](https://expo.dev) project created with [`create-expo-app`](htt
```





## Learn more

To learn more about developing your project with Expo, look at the following resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ config.resolver.extraNodeModules = {

}

config.resolveRequest = (context, moduleName, platform) => {
if (moduleName === "crypto") {
// when importing crypto, resolve to react-native-quick-crypto
return context.resolveRequest(context, "react-native-quick-crypto", platform);
}
// otherwise chain to the standard Metro resolver.
return context.resolveRequest(context, moduleName, platform);
}
// config.resolveRequest = (context, moduleName, platform) => {
// if (moduleName === "crypto") {
// // when importing crypto, resolve to react-native-quick-crypto
// return context.resolveRequest(context, "react-native-quick-crypto", platform);
// }
// // otherwise chain to the standard Metro resolver.
// return context.resolveRequest(context, moduleName, platform);
// }
module.exports = config;

0 comments on commit 0e11c70

Please sign in to comment.