🐛 Move required action type to common store

This commit is contained in:
Philipp Stracker 2024-11-21 18:04:11 +01:00
parent f2f0329e4e
commit a0910962b4
No known key found for this signature in database
3 changed files with 2 additions and 2 deletions

View file

@ -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',
};

View file

@ -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(

View file

@ -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',
};