Update multiplayer.tsx

This commit is contained in:
Steve Ruiz 2021-10-12 23:00:43 +01:00
parent 93827e45dd
commit 59fa1e375e

View file

@ -103,7 +103,8 @@ function TLDrawWrapper() {
tlstate.updateUsers(
others
.toArray()
.map((other) => other.presence?.user)
.filter((other) => other.presence)
.map((other) => other.presence!.user)
.filter(Boolean)
)
})