Skip to content

Commit b12e5fd

Browse files
committed
Move const to top of file.
1 parent a94e1a8 commit b12e5fd

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

assets/js/googlesitekit/data/utils.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ import memize from 'memize';
2828
*/
2929
import { createRegistryControl, createRegistrySelector } from '@wordpress/data';
3030

31+
/**
32+
* Symbol used to indicate that a global data value was not found.
33+
*
34+
* @since n.e.x.t
35+
* @private
36+
*/
37+
export const GLOBAL_DATA_VALUE_NOT_FOUND = Symbol(
38+
'GLOBAL_DATA_VALUE_NOT_FOUND'
39+
);
40+
3141
const GET_REGISTRY = 'GET_REGISTRY';
3242
const AWAIT = 'AWAIT';
3343

@@ -432,10 +442,6 @@ export function createValidatedAction( validate, actionCreator ) {
432442
};
433443
}
434444

435-
export const GLOBAL_DATA_VALUE_NOT_FOUND = Symbol(
436-
'GLOBAL_DATA_VALUE_NOT_FOUND'
437-
);
438-
439445
/**
440446
* Gets a global data object by property name and optional child property name.
441447
*

0 commit comments

Comments
 (0)