classic-ui/modules/account/injectors/noteInjectors.js

12 lines
373 B
JavaScript
Raw Permalink Normal View History

2022-04-22 13:05:56 +10:00
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'])
}