src/stores/AccountActions.js
/**
   *  Account search results are not managed by the ChainStore cache so are
   *  tracked as part of the AccountStore.
   */
Account search results are not managed by the ChainStore cache so are
tracked as part of the AccountStore.
Account search results are not managed by the ChainStore cache so are tracked as part of the AccountStore .
accountSearch(start_symbol, limit = 50) {
      let uid = `${start_symbol}_${limit}}`;
      return (dispatch) => {
          if (!accountSearch[uid]) {
              accountSearch[uid] = true;
              return Apis.instance().db_api().exec("lookup_accounts", [
                  start_symbol, limit
              ])
              .then(result => {
                  accountSearch[uid] = false;
                  dispatch({accounts: result, searchTerm: start_symbol});
              });
          }
      };
  }
accountSearch ( start_symbol , limit = 50 ) { let uid = ` ${ start_symbol } ${ limit } ` ; return ( dispatch ) => { if ( ! accountSearch [ uid ] ) { accountSearch [ uid ] = true ; return Apis . instance ( ) . db_api ( ) . exec ( "lookup_accounts" , [ start_symbol , limit ] ) . then ( result => { accountSearch [ uid ] = false ; dispatch ( { accounts : result , searchTerm : start_symbol } ) ; } ) ; } } ; }
Account search results are not managed by the ChainStore cache so are
  tracked as part of the AccountStore.
Account search results are not managed by the ChainStore cache so are tracked as part of the AccountStore .