Skip to content

Commit

Permalink
Revert setLogo and setError changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende committed Jun 28, 2021
1 parent afca925 commit 1d18680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/site-logo/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,8 @@ export default function LogoEdit( {

if ( ! media.id && media.url ) {
// This is a temporary blob image
setLogo( '' );
setError();
setLogo( undefined );
setError( null );
setLogoUrl( media.url );
return;
}
Expand Down

0 comments on commit 1d18680

Please sign in to comment.