Skip to content

Commit

Permalink
Improve readability of proxying
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Sep 20, 2024
1 parent 14925b6 commit 4c28c28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/blocks/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import deprecated from '@wordpress/deprecated';
* Internal dependencies
*/
import { getValueFromObjectPath, matchesAttributes } from './utils';
import { hasContentRoleAttribute } from './private-selectors';
import { hasContentRoleAttribute as privateHasContentRoleAttribute } from './private-selectors';

/** @typedef {import('../api/registration').WPBlockVariation} WPBlockVariation */
/** @typedef {import('../api/registration').WPBlockVariationScope} WPBlockVariationScope */
Expand Down Expand Up @@ -831,5 +831,5 @@ export const __experimentalHasContentRoleAttribute = ( ...args ) => {
alternative: 'hasContentRoleAttribute',
hint: 'This is a private selector.',
} );
return hasContentRoleAttribute( ...args );
return privateHasContentRoleAttribute( ...args );
};

0 comments on commit 4c28c28

Please sign in to comment.