[CYS on core] Set the default width after logo update (#45384)

* Set default width after logo update

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Alba Rincón 2024-03-07 15:13:31 +01:00 committed by GitHub
parent d6cbbfb4d2
commit 60d93e447f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -110,6 +110,7 @@ const useLogoEdit = ( {
}
setLogo( media.id, shouldForceSync );
setAttributes( { width: DEFAULT_LOGO_WIDTH } );
};
const onInitialSelectLogo = ( media: { id: string; url: string } ) => {

View File

@ -0,0 +1,4 @@
Significance: minor
Type: fix
CYS - Set a default width for the site logo after uploading it.