Explorar el Código

Removing empty statement.

Maciej Gołaszewski hace 5 años
padre
commit
8c210bfb35
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 = [];