Skip to content

Commit

Permalink
Merge branch 'try/block-directory-store-refactor' of github.com:WordP…
Browse files Browse the repository at this point in the history
…ress/gutenberg into try/block-directory-store-refactor
  • Loading branch information
ryelle committed May 18, 2020
2 parents 9015fec + feaee87 commit a85c0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-directory/src/store/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const loadStyle = ( asset ) => {
link.rel = 'stylesheet';
link.href = asset;
link.onload = () => resolve( true );
link.onerror = () => reject( new Error( 'Error loading script.' ) );
link.onerror = () => reject( new Error( 'Error loading style.' ) );
document.body.appendChild( link );
} );
};
Expand Down

0 comments on commit a85c0b9

Please sign in to comment.