Zero error milestone.

This commit is contained in:
Paul
2021-07-30 22:40:49 +01:00
parent d5b767c251
commit 33decef7de
41 changed files with 242 additions and 370 deletions

View File

@@ -48,10 +48,10 @@ export const Friend = observer(({ user }: Props) => {
onClick={(ev) =>
stopPropagation(
ev,
user.openDM().then((channel) => {
connect(channel._id);
history.push(`/channel/${channel._id}`);
}),
user
.openDM()
.then(connect)
.then((x) => history.push(`/channel/${x._id}`)),
)
}>
<PhoneCall size={20} />