Websocket and auth fixes
This commit is contained in:
@@ -38,7 +38,7 @@ function MessageContainer({
|
||||
[message.from]: res.data as UserProfile,
|
||||
}))
|
||||
)
|
||||
.catch(console.error);
|
||||
.catch(() => {});
|
||||
}, [message.from, setUserList]);
|
||||
|
||||
return (
|
||||
|
||||
@@ -338,7 +338,5 @@ function getUser(
|
||||
|
||||
get(`/api/profile/?id=${id}`, onResponse)
|
||||
?.then(onResponse)
|
||||
.catch((e) => {
|
||||
console.error(e);
|
||||
});
|
||||
.catch((e) => {});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user