Eliminate resetEmojiResults, move onEditorStateChanged to redux
This commit is contained in:
parent
6d868030ae
commit
5c059c54d5
13 changed files with 162 additions and 155 deletions
|
@ -70,6 +70,7 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
|
|||
|
||||
const {
|
||||
attachments: draftAttachments,
|
||||
focusCounter,
|
||||
isDisabled,
|
||||
linkPreviewLoading,
|
||||
linkPreviewResult,
|
||||
|
@ -83,11 +84,13 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
|
|||
return {
|
||||
// Base
|
||||
conversationId: id,
|
||||
focusCounter,
|
||||
getPreferredBadge: getPreferredBadgeSelector(state),
|
||||
i18n: getIntl(state),
|
||||
isDisabled,
|
||||
messageCompositionId,
|
||||
theme: getTheme(state),
|
||||
|
||||
// AudioCapture
|
||||
errorDialogAudioRecorderType:
|
||||
state.audioRecorder.errorDialogAudioRecorderType,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue