Fixed some stuff
This commit is contained in:
parent
48c4f780c1
commit
374b8cd4e2
4 changed files with 10 additions and 5 deletions
|
|
@ -32,7 +32,7 @@ export default function ConversationProvider(props: {
|
|||
React.useEffect(() => {
|
||||
let active = true;
|
||||
|
||||
send("get_chats", {})
|
||||
send("get_conversations", {})
|
||||
.then((data) => {
|
||||
if (active) {
|
||||
setConversations(data.data.user_ids);
|
||||
|
|
|
|||
Loading…
Reference in a new issue