From 3a1978a898dbc441176a15ceba2b72ce4ab1919c Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 19 Sep 2024 14:35:23 -0500 Subject: [PATCH] Feedback --- src/view/com/composer/text-input/TextInput.web.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/view/com/composer/text-input/TextInput.web.tsx b/src/view/com/composer/text-input/TextInput.web.tsx index 9b9ace68c8..acec61516a 100644 --- a/src/view/com/composer/text-input/TextInput.web.tsx +++ b/src/view/com/composer/text-input/TextInput.web.tsx @@ -265,8 +265,9 @@ export const TextInput = React.forwardRef(function TextInputImpl( * * `lineHeight` should always be defined here, this is defensive. */ - // @ts-ignore - style.lineHeight = style.lineHeight ? (style.lineHeight += 'px') : undefined + style.lineHeight = style.lineHeight + ? ((style.lineHeight + 'px') as unknown as number) + : undefined return style }, [t, fonts])