diff options
Diffstat (limited to 'plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/user-data.js')
-rw-r--r-- | plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/user-data.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/user-data.js b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/user-data.js new file mode 100644 index 00000000..6e5ac9d3 --- /dev/null +++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-search/src/dashboard/store/selectors/user-data.js @@ -0,0 +1,5 @@ +const userDataSelectors = { + getWpcomUser: state => state.userData?.currentUser?.wpcomUser, +}; + +export default userDataSelectors; |