classic-ui/modules/account/injectors/noteInjectors.js
2022-10-13 15:50:29 +02:00

12 lines
384 B
JavaScript

import { mapActions, mapGetters, mapState } from 'vuex'
export const noteMethods = {
...mapActions('encryptedNote', ['checkExistAccount', 'highlightNoteAccount'])
}
export const noteComputed = {
...mapGetters('encryptedNote', ['isSetupAccount']),
...mapState('metamask', ['isInitialized', 'netId']),
...mapGetters('encryptedNote', ['isHighlightedNoteAccount'])
}