Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Avoid expose new selector as part of API
  • Loading branch information
getdave committed Nov 23, 2021
commit 131c05f929619e9acb4113719d1a965e70972a0c
2 changes: 1 addition & 1 deletion packages/edit-site/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const getCanUserCreateMedia = createRegistrySelector( ( select ) => () =>
*
* @return {Array} The available reusable blocks.
*/
export const getReusableBlocks = createRegistrySelector( ( select ) => () => {
const getReusableBlocks = createRegistrySelector( ( select ) => () => {
const isWeb = Platform.OS === 'web';
return isWeb
? select( coreDataStore ).getEntityRecords( 'postType', 'wp_block', {
Expand Down