From 2a09eddb7d1b70de866d9403a38ba9260a1a5954 Mon Sep 17 00:00:00 2001 From: Jeremy Kahn Date: Wed, 31 Aug 2022 10:09:49 -0500 Subject: [PATCH] fix: remove double "has" from alert messages --- src/components/Room/Room.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Room/Room.tsx b/src/components/Room/Room.tsx index 99c798b..685802f 100644 --- a/src/components/Room/Room.tsx +++ b/src/components/Room/Room.tsx @@ -68,7 +68,7 @@ export function Room({ useEffect(() => { peerRoom.onPeerJoin(() => { - shellContext.showAlert(`Someone has has joined the room`, { + shellContext.showAlert(`Someone has joined the room`, { severity: 'success', }) @@ -78,7 +78,7 @@ export function Room({ }) peerRoom.onPeerLeave(() => { - shellContext.showAlert(`Someone has has left the room`, { + shellContext.showAlert(`Someone has left the room`, { severity: 'warning', })