import { HistoryQueriesXStoreModule } from '../types' ; /**
 * Default implementation for the  HistoryQueriesActions . removeFromHistory .
 *
 *  param context - The  https of the actions,
 * provided by Vuex.
 *  param historyQueryToRemove returns public export const removeFromHistory = ( { state , dispatch } , historyQueryToRemove ) => { const newHistoryQueries = state . historyQueries . filter ( historyQuery => historyQuery . query !== historyQueryToRemove . query ) ; return dispatch ( 'setHistoryQueries' , newHistoryQueries ) ; } ;