Skip to content

Commit

Permalink
refactor: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
sparten11740 committed Mar 1, 2024
1 parent 0e35fd2 commit ac3499b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions features/keychain/api/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
const createKeychainApi = ({ keychain }) => {
const exportKey = async ({ seedId, keyId, exportPrivate }) =>
keychain.exportKey({ seedId, keyId, exportPrivate })

return {
keychain: {
exportKey,
exportKey: (...args) => keychain.exportKey(...args),
},
}
}
Expand Down

0 comments on commit ac3499b

Please sign in to comment.