From f5573860c5356073d009f153df9ea3a60b7b7b9a Mon Sep 17 00:00:00 2001 From: Federico Ruggi <1081051+ruggi@users.noreply.github.com> Date: Mon, 15 Jul 2024 15:45:37 +0200 Subject: [PATCH] clean up --- editor/src/components/inspector/common/css-utils.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/editor/src/components/inspector/common/css-utils.ts b/editor/src/components/inspector/common/css-utils.ts index 54d87582806d..5d063f951951 100644 --- a/editor/src/components/inspector/common/css-utils.ts +++ b/editor/src/components/inspector/common/css-utils.ts @@ -769,8 +769,7 @@ export function printArrayCSSNumber(array: Array): string { .map((dimension) => { const printed = printCSSNumber(dimension, null) const areaName = dimension.areaName != null ? `[${dimension.areaName}] ` : '' - const value = typeof printed === 'string' ? printed : `${printed}` - return `${areaName}${value}` + return `${areaName}${printed}` }) .join(' ') }