Ver código fonte

Removing empty statement.

Maciej Gołaszewski 5 anos atrás
pai
commit
8c210bfb35
1 arquivos alterados com 1 adições e 1 exclusões
  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 = [];