Closed CarterNosek closed 3 weeks ago
Added useEffect to userContext that sets the user display name to a randomly generated one, using the GenerateName script from utils/scripts.js. Then added user component to ChatScreen and set the display name to the previously mentioned username.
Added useEffect to userContext that sets the user display name to a randomly generated one, using the GenerateName script from utils/scripts.js. Then added user component to ChatScreen and set the display name to the previously mentioned username.