Browse Source

Removing empty statement.

Maciej Gołaszewski 5 years ago
parent
commit
8c210bfb35
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-engine/src/view/styles/utils.js

+ 1 - 1
packages/ckeditor5-engine/src/view/styles/utils.js

@@ -117,7 +117,7 @@ export function getTopRightBottomLeftValues( value = '' ) {
  */
  */
 export function getTopRightBottomLeftValueReducer( styleShorthand ) {
 export function getTopRightBottomLeftValueReducer( styleShorthand ) {
 	return value => {
 	return value => {
-		const { top, right, bottom, left } = ( value || {} );
+		const { top, right, bottom, left } = value;
 
 
 		const reduced = [];
 		const reduced = [];