Skip to content

Commit

Permalink
Block Directory: Remove case that expects api to return an object ins…
Browse files Browse the repository at this point in the history
…tead of an array. (#22289)
  • Loading branch information
StevenDufresne authored May 12, 2020
1 parent c7d5844 commit 37dc5e1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/block-directory/src/store/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,6 @@ const controls = {
loadStyle( asset );
}
} );
} else {
loadScript(
assets.editor_script,
() => {
return resolve( 0 );
},
reject
);
loadStyle( assets.style );
}
} );
},
Expand Down

0 comments on commit 37dc5e1

Please sign in to comment.