classic-ui/modules/account/injectors/noteInjectors.js
Danil Kovtonyuk 44f31f8b9f
init
2022-04-22 13:14:19 +10:00

12 lines
373 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'])
}