diff --git a/native/input/input-state-container.react.js b/native/input/input-state-container.react.js --- a/native/input/input-state-container.react.js +++ b/native/input/input-state-container.react.js @@ -414,7 +414,7 @@ scrollToMessage: this.scrollToMessage, addScrollToMessageListener: this.addScrollToMessageListener, removeScrollToMessageListener: this.removeScrollToMessageListener, - }), + }: InputState), ); scrollToMessage = (messageID: string) => { diff --git a/web/input/input-state-container.react.js b/web/input/input-state-container.react.js --- a/web/input/input-state-container.react.js +++ b/web/input/input-state-container.react.js @@ -620,7 +620,7 @@ ]; } } - return { + return ({ pendingUploads: threadPendingUploads, assignedUploads, draft: draft ?? '', @@ -660,7 +660,7 @@ removeReplyListener: this.removeReplyListener, registerSendCallback: this.props.registerSendCallback, unregisterSendCallback: this.props.unregisterSendCallback, - }; + }: BaseInputState); }, ), );