src/store/index.js
// Uninitialize the stores (call on app destroyed).
Uninitialize the stores (call on app destroyed).
Uninitialize the stores ( call on app destroyed ) .
async uninitialize({ dispatch }) {
      await Promise.all([
        dispatch('network/uninitialize'),
        dispatch('chain/uninitialize'),
        dispatch('wallet/uninitialize'),
      ])
    }
async uninitialize ( { dispatch } ) { await Promise . all ( [ dispatch ( 'network/uninitialize' ) , dispatch ( 'chain/uninitialize' ) , dispatch ( 'wallet/uninitialize' ) , ] ) }
Uninitialize the stores (call on app destroyed).
Uninitialize the stores ( call on app destroyed ) .