Skip to content

Commit

Permalink
Update packages/block-editor/src/components/line-height-control/utils.js
Browse files Browse the repository at this point in the history
Co-Authored-By: Zebulan Stanphill <[email protected]>
  • Loading branch information
2 people authored and youknowriad committed Mar 27, 2020
1 parent c449aad commit 5923ffc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 5923ffc

Please sign in to comment.