From 83afff1754d015a61d7b77affe6678503d280d3d Mon Sep 17 00:00:00 2001 From: Marlon Ugocioni Marcello Date: Fri, 10 Feb 2023 10:40:43 -0800 Subject: [PATCH] Adds `line-height` to list of props without units I am currently [getting an error](https://codesandbox.io/p/sandbox/inspiring-platform-y8do8d?file=%2Findex.js&selection=%5B%7B%22endColumn%22%3A1%2C%22endLineNumber%22%3A4%2C%22startColumn%22%3A1%2C%22startLineNumber%22%3A4%7D%5D) when using `line-height` without a unit which is allowed https://developer.mozilla.org/en-US/docs/Web/CSS/line-height --- src/devPropertiesWithoutUnitsRegExp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devPropertiesWithoutUnitsRegExp.js b/src/devPropertiesWithoutUnitsRegExp.js index 9a65cd2..701fa1e 100644 --- a/src/devPropertiesWithoutUnitsRegExp.js +++ b/src/devPropertiesWithoutUnitsRegExp.js @@ -8,6 +8,7 @@ if (process.env.NODE_ENV !== 'production') { 'opacity', 'shadowOpacity', 'zIndex', + 'lineHeight', ] }