From a370b8e11d7bb6c16f8629e71675a77367ec4d42 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Sun, 28 Jun 2020 11:06:26 +1000 Subject: [PATCH] Added full stops on session errors --- src/routes/Game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/Game.js b/src/routes/Game.js index 007c48c..f479a7a 100644 --- a/src/routes/Game.js +++ b/src/routes/Game.js @@ -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."); } }