forked from Shiloh/remnantchat
fix: remove double "has" from alert messages
This commit is contained in:
parent
6bc8bf8b88
commit
2a09eddb7d
@ -68,7 +68,7 @@ export function Room({
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
peerRoom.onPeerJoin(() => {
|
peerRoom.onPeerJoin(() => {
|
||||||
shellContext.showAlert(`Someone has has joined the room`, {
|
shellContext.showAlert(`Someone has joined the room`, {
|
||||||
severity: 'success',
|
severity: 'success',
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ export function Room({
|
|||||||
})
|
})
|
||||||
|
|
||||||
peerRoom.onPeerLeave(() => {
|
peerRoom.onPeerLeave(() => {
|
||||||
shellContext.showAlert(`Someone has has left the room`, {
|
shellContext.showAlert(`Someone has left the room`, {
|
||||||
severity: 'warning',
|
severity: 'warning',
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user