Save source of selectedMessage changes to prevent unnecessary scrolls

This commit is contained in:
Scott Nonnenberg 2022-11-09 12:18:03 -08:00 committed by GitHub
parent d00898fdfc
commit 4fa614e1d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 3 deletions

View file

@ -81,6 +81,7 @@ export const App = ({
requestVerification,
selectedConversationId,
selectedMessage,
selectedMessageSource,
showConversation,
showWhatsNewModal,
theme,
@ -117,6 +118,7 @@ export const App = ({
renderLeftPane={renderLeftPane}
selectedConversationId={selectedConversationId}
selectedMessage={selectedMessage}
selectedMessageSource={selectedMessageSource}
showConversation={showConversation}
showWhatsNewModal={showWhatsNewModal}
/>