Parcourir la source

Removing empty statement.

Maciej Gołaszewski il y a 5 ans
Parent
commit
8c210bfb35
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 ) {
 	return value => {
-		const { top, right, bottom, left } = ( value || {} );
+		const { top, right, bottom, left } = value;
 
 		const reduced = [];