RobertMcCoy / CodeCollaborator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Username not included in collaborators array until updated.

dmeredith96 opened this issue · comments

image

I'm trying to pass in the collaborators array from Collab.js to Users.js to get a list of users connected. The first array shown in the picture is passed in when the component is initially loaded (basically when a user connects to the page the first time). When another user goes to join, the collaborators array gets updated with the new user, but this time it includes the username.

Seems to be working, unsure of what commit fixed this issue.