From 5923ffcdf9c05ae498bec9193656f738c7943ca7 Mon Sep 17 00:00:00 2001 From: Jon Quach Date: Wed, 25 Mar 2020 14:51:32 -0400 Subject: [PATCH] Update packages/block-editor/src/components/line-height-control/utils.js Co-Authored-By: Zebulan Stanphill --- .../block-editor/src/components/line-height-control/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/line-height-control/utils.js b/packages/block-editor/src/components/line-height-control/utils.js index 8c285f781d53c..d7943e736fe89 100644 --- a/packages/block-editor/src/components/line-height-control/utils.js +++ b/packages/block-editor/src/components/line-height-control/utils.js @@ -45,5 +45,5 @@ export function useIsLineHeightControlsDisabled() { * @return {boolean} Whether the lineHeight attribute is valid. */ export function isLineHeightDefined( lineHeight ) { - return ! isUndefined( lineHeight ) && lineHeight !== RESET_VALUE; + return lineHeight !== undefined && lineHeight !== RESET_VALUE; }