UNPKG

@open-tender/store

Version:

A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API

5 lines (4 loc) 240 B
import { useDispatch, useSelector } from 'react-redux'; // Use throughout your app instead of plain `useDispatch` and `useSelector` export var useAppDispatch = function () { return useDispatch(); }; export var useAppSelector = useSelector;