mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
🐛 Move required action type to common store
This commit is contained in:
parent
f2f0329e4e
commit
a0910962b4
3 changed files with 2 additions and 2 deletions
|
@ -14,4 +14,5 @@ export default {
|
|||
|
||||
// Controls - always start with "DO_".
|
||||
DO_PERSIST_DATA: 'COMMON:DO_PERSIST_DATA',
|
||||
DO_MANUAL_CONNECTION: 'COMMON:DO_MANUAL_CONNECTION',
|
||||
};
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
*/
|
||||
|
||||
import { useDispatch, useSelect } from '@wordpress/data';
|
||||
import { useCallback } from '@wordpress/element';
|
||||
|
||||
import { STORE_NAME } from './constants';
|
||||
import { useCallback } from '@wordpress/element';
|
||||
|
||||
const useTransient = ( key ) =>
|
||||
useSelect(
|
||||
|
|
|
@ -15,5 +15,4 @@ export default {
|
|||
|
||||
// Controls - always start with "DO_".
|
||||
DO_PERSIST_DATA: 'ONBOARDING:DO_PERSIST_DATA',
|
||||
DO_MANUAL_CONNECTION: 'ONBOARDING:DO_MANUAL_CONNECTION',
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue