import { Dispatch } from 'redux' ; import { AccountsAdd , AccountsRemove } from '../actions/actions' ; export const addAccount = ( dispatch , address , config ? ) : void => { dispatch ( AccountsAdd ( address , config ) ) ; } ; export const removeAccount = ( dispatch , address_or_alias ) : void => { dispatch ( AccountsRemove ( address_or_alias ) ) ; } ;