diff --git a/packages/block-library/src/site-logo/edit.js b/packages/block-library/src/site-logo/edit.js index e3cd8226417975..3cd4d44c0162f2 100644 --- a/packages/block-library/src/site-logo/edit.js +++ b/packages/block-library/src/site-logo/edit.js @@ -275,14 +275,12 @@ export default function LogoEdit( { const _siteLogoId = _siteLogo || _readOnlyLogo; const mediaItem = _siteLogoId && - select( coreStore ).getEntityRecord( 'root', 'media', _siteLogoId, { + select( coreStore ).getMedia( _siteLogoId, { context: 'view', } ); const _isRequestingMediaItem = _siteLogoId && - ! select( coreStore ).hasFinishedResolution( 'getEntityRecord', [ - 'root', - 'media', + ! select( coreStore ).hasFinishedResolution( 'getMedia', [ _siteLogoId, { context: 'view' }, ] );