Skip to content

Commit da83053

Browse files
committed
remove routing
1 parent b1653d0 commit da83053

File tree

1 file changed

+6
-6
lines changed
  • peerprep-fe/src/app/(main)/match

1 file changed

+6
-6
lines changed

peerprep-fe/src/app/(main)/match/page.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ export default function LoadingPage() {
2121
console.log('Match found, your partner is', message.partner);
2222
setMatchStatus('matched');
2323

24-
setTimeout(() => {
25-
router.push(`/collaboration`);
26-
}, 2000);
24+
// setTimeout(() => {
25+
// router.push(`/collaboration`);
26+
// }, 2000);
2727
} else {
2828
console.log('Match failed');
2929
setMatchStatus('failed');
3030

31-
setTimeout(() => {
32-
router.push(`/`);
33-
}, 2000);
31+
// setTimeout(() => {
32+
// router.push(`/`);
33+
// }, 4500);
3434
}
3535
});
3636
} catch (error) {

0 commit comments

Comments
 (0)