-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
Description
cozy-banks/src/ducks/context/SelectionContext.jsx
Lines 18 to 23 in 79c5070
// TODO: SelectionProvider stores the entire elements in an array | |
// instead of just their ids. This is not critical since we | |
// imagine that there are quite few elements. | |
// But an improvement would be to store only the ids. | |
const SelectionProvider = ({ children }) => { | |
const [isSelectionModeActive, setIsSelectionModeActive] = useState(false) |