Added full stops on session errors
This commit is contained in:
parent
75e2a591b3
commit
a370b8e11d
@ -422,9 +422,9 @@ function Game() {
|
||||
function handlePeerError({ error, peer }) {
|
||||
console.error(error.code);
|
||||
if (error.code === "ERR_WEBRTC_SUPPORT") {
|
||||
setPeerError("WebRTC not supported");
|
||||
setPeerError("WebRTC not supported.");
|
||||
} else if (error.code === "ERR_CREATE_OFFER") {
|
||||
setPeerError("Unable to connect to party");
|
||||
setPeerError("Unable to connect to party.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user