diff options
author | dan <dan.abramov@gmail.com> | 2024-10-08 09:07:40 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-07 17:07:40 -0700 |
commit | e1ca3ae40e8a208ab2ab0b89a96b8e314042c75b (patch) | |
tree | 3552743fa299b00b5f13e31721fa219ec50c136e /src/view/com/composer/text-input | |
parent | c06040cc209338fc37980648b31d4d64cc0c5c09 (diff) | |
download | voidsky-e1ca3ae40e8a208ab2ab0b89a96b8e314042c75b.tar.zst |
Move remaining composer state into reducer (#5623)
Co-authored-by: Mary <git@mary.my.id> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
Diffstat (limited to 'src/view/com/composer/text-input')
-rw-r--r-- | src/view/com/composer/text-input/TextInput.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/composer/text-input/TextInput.tsx b/src/view/com/composer/text-input/TextInput.tsx index 39baa2cb6..43074fa5b 100644 --- a/src/view/com/composer/text-input/TextInput.tsx +++ b/src/view/com/composer/text-input/TextInput.tsx @@ -43,7 +43,7 @@ export interface TextInputRef { interface TextInputProps extends ComponentProps<typeof RNTextInput> { richtext: RichText placeholder: string - setRichText: (v: RichText | ((v: RichText) => RichText)) => void + setRichText: (v: RichText) => void onPhotoPasted: (uri: string) => void onPressPublish: (richtext: RichText) => Promise<void> onNewLink: (uri: string) => void |