Skip to content

Commit

Permalink
fixed chat messages fetching same address issue
Browse files Browse the repository at this point in the history
  • Loading branch information
its-me-sv committed Jul 21, 2023
1 parent 800e70c commit c25842c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/chat/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const ChatPage: React.FC<ChatPageProps> = () => {
<Container dark={dark}>
<FriendsCommunites accountId={account?.address} fromChat />
{currChat.length > 0 ? (
<Chat address={currChat} />
<Chat key={currChat} address={currChat} />
) : (
<DefaultContainer dark={dark}>
<span>{chooseAcc[language]}</span>
Expand Down

0 comments on commit c25842c

Please sign in to comment.