mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
♻️ Implement new store-hooks accessor logic
This commit is contained in:
parent
4de4e05829
commit
13947a5d01
2 changed files with 7 additions and 20 deletions
|
@ -15,7 +15,6 @@ import { STORE_NAME } from './constants';
|
|||
|
||||
const useHooks = () => {
|
||||
const { useTransient, usePersistent } = createHooksForStore( STORE_NAME );
|
||||
|
||||
const { persist } = useDispatch( STORE_NAME );
|
||||
|
||||
// Read-only flags and derived state.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue