Skip to content

Commit

Permalink
Remove unnecessary return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewserong committed Feb 2, 2022
1 parent a925476 commit b7150e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export function getInlineStyles( styles = {} ) {
if ( rule.selector !== 'self' ) {
throw "This style can't be added as inline style";
}
return ( output[ rule.key ] = rule.value );
output[ rule.key ] = rule.value;
} );

return output;
Expand Down

0 comments on commit b7150e2

Please sign in to comment.