WIP / Feature Fix _bills

This commit is contained in:
elforjani3
2020-08-04 17:51:17 +02:00
parent 5d1b41da16
commit 1cb826163b
25 changed files with 1703 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
import { createSelector } from '@reduxjs/toolkit';
const billByIdSelector = (state, props) => state.bills.items[props.billId];
export const getBillById = () =>
createSelector(billByIdSelector, (_bill) => _bill);