Skip to content

Commit 44f69d8

Browse files
committed
Add alert on fail to match
1 parent 8db03d9 commit 44f69d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

peerprep/components/questionpage/Matchmaking.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ const Matchmaking = () => {
100100
setMatchHash("");
101101
setIsMatching(false);
102102
console.log("Match request timed out after 30s");
103+
alert("Failed to find match. Request timed out.");
103104
}, TIMEOUT_MILLISECONDS);
104105

105106
// assemble the match request

0 commit comments

Comments
 (0)