From 739222498d1181623b397893f5018bb32621e5f0 Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Fri, 20 Sep 2024 10:36:28 +0100 Subject: [PATCH] Improve readability of proxying --- packages/blocks/src/store/selectors.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/blocks/src/store/selectors.js b/packages/blocks/src/store/selectors.js index b173724277c0bb..6d38af389e3129 100644 --- a/packages/blocks/src/store/selectors.js +++ b/packages/blocks/src/store/selectors.js @@ -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 */ @@ -831,5 +831,5 @@ export const __experimentalHasContentRoleAttribute = ( ...args ) => { alternative: 'hasContentRoleAttribute', hint: 'This is a private selector.', } ); - return hasContentRoleAttribute( ...args ); + return privateHasContentRoleAttribute( ...args ); };