diff --git a/packages/react-native/lib/didHooks.js b/packages/react-native/lib/didHooks.js index 85354a12..e59f5f2a 100644 --- a/packages/react-native/lib/didHooks.js +++ b/packages/react-native/lib/didHooks.js @@ -25,7 +25,7 @@ export function useDIDManagement() { case 'diddock': return didProvider.createDIDock({ address, name }); case 'didkey': - return didProvider.createDidKey({ derivePath, name, type }); + return didProvider.createDIDKey({ derivePath, name, type }); default: throw Error('Invalid DID type'); }