import { ReduxStoreState } from "modules/root" ; import { createSelector } from "reselect" ; import { identity } from "tools/client-utils" ; /** ===========================================================================
 * Selectors
 * ============================================================================
 */ const transactionState = ( state ) => { return state . transaction ; } ; const transactionsSelector = createSelector ( transactionState , identity ) ; const liveTransactionsRecordSelector = createSelector ( transactionState , txs => txs . liveTransactionRecord ) ; const transactionsPage = createSelector ( transactionState , txs => txs . transactionsPage ) ; /** ===========================================================================
 * Export
 * ============================================================================
 */ export default { transactionsSelector , transactionsPage , liveTransactionsRecordSelector , } ;