diff options
Diffstat (limited to 'src/view/com/composer/Composer.tsx')
-rw-r--r-- | src/view/com/composer/Composer.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx index 37569fbec..f88cf4bf0 100644 --- a/src/view/com/composer/Composer.tsx +++ b/src/view/com/composer/Composer.tsx @@ -133,8 +133,8 @@ export const ComposePost = observer(function ComposePost({ ) const onPressPublish = useCallback( - async rt => { - if (isProcessing || rt.graphemeLength_ > MAX_GRAPHEME_LENGTH) { + async (rt: RichText) => { + if (isProcessing || rt.graphemeLength > MAX_GRAPHEME_LENGTH) { return } |