commit | 5e9e19bb7b4eaaaf13f4e72fe8312df77c2fa64b | [log] [tgz] |
---|---|---|
author | Adrien Béraud <adrien.beraud@savoirfairelinux.com> | Thu Apr 22 01:38:53 2021 -0400 |
committer | Adrien Béraud <adrien.beraud@savoirfairelinux.com> | Thu Apr 22 01:38:53 2021 -0400 |
tree | b405c639ecd53d13fda93bdf5ea101423b9bac00 | |
parent | 21c53cf73b5afac616ae2d1d78aeacf49aefe82b [diff] [blame] |
conversation: load and send messages Change-Id: Ia18404ac20239d395af7b0ec871973a9b380ae69
diff --git a/client/src/components/ConversationsOverviewCard.js b/client/src/components/ConversationsOverviewCard.js index 01b2d7b..407ed94 100644 --- a/client/src/components/ConversationsOverviewCard.js +++ b/client/src/components/ConversationsOverviewCard.js
@@ -28,7 +28,7 @@ setState({ loaded: true, conversations: Object.values(result).map(c => Conversation.from(accountId, c)) }) }) return () => controller.abort() - }, []) + }, [accountId]) return ( <Card onClick={() => history.push(`/account/${accountId}`)} >