Skip to content

Commit

Permalink
setLogo with number instead of string
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende committed Jun 28, 2021
1 parent 1d18680 commit 549b9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/site-logo/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const SiteLogo = ( {
naturalHeight={ naturalHeight }
clientWidth={ clientWidth }
onSaveImage={ ( imageAttributes ) => {
setLogo( imageAttributes.id.toString() );
setLogo( imageAttributes.id );
} }
isEditing={ isEditingImage }
onFinishEditing={ () => setIsEditingImage( false ) }
Expand Down

0 comments on commit 549b9e9

Please sign in to comment.