about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/view/com/composer/text-input/TextInput.web.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/view/com/composer/text-input/TextInput.web.tsx b/src/view/com/composer/text-input/TextInput.web.tsx
index dbc2f11d2..199f1f749 100644
--- a/src/view/com/composer/text-input/TextInput.web.tsx
+++ b/src/view/com/composer/text-input/TextInput.web.tsx
@@ -228,7 +228,10 @@ export const TextInput = React.forwardRef(function TextInputImpl(
   return (
     <>
       <View style={styles.container}>
-        <EditorContent editor={editor} style={{color: pal.text.color}} />
+        <EditorContent
+          editor={editor}
+          style={{color: pal.text.color as string}}
+        />
       </View>
 
       {isDropping && (