Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Expand button Dashicon comment explanation
  • Loading branch information
sarayourfriend committed Mar 18, 2021
commit 457ab0ffb42d8fa9496dbece7f8e0e8c8b76c8df
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function getIsLoading( { isBusy, isLoading } ) {

function getIcon( { icon } ) {
if ( typeof icon === 'string' ) {
// We can't deprecate this strategy because block authors depend on it
// We can't deprecate this strategy because block authors depend on it but the new component is ignorant of Dashicon
return <Dashicon icon={ icon } />;
}
return icon;
Expand Down