From 18f717dce6dd396681c8f291f1240c2434673eed Mon Sep 17 00:00:00 2001 From: Arin Nigam Date: Fri, 16 Feb 2024 00:11:00 +0530 Subject: [PATCH] updated route with chatroom --- frontend/lib/routes/routes.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/lib/routes/routes.dart b/frontend/lib/routes/routes.dart index 772dc29..1dad194 100644 --- a/frontend/lib/routes/routes.dart +++ b/frontend/lib/routes/routes.dart @@ -15,6 +15,7 @@ import '../screens/admin/view_courses.dart'; import '../screens/admin/view_faculty.dart'; import '../screens/admin/view_menu.dart'; import '../screens/auth/admin_login.dart'; +import '../screens/user/chat_room.dart'; import '../screens/user/room_vacancy.dart'; import '../screens/user/student_profile.dart'; import '../screens/user/user_home.dart'; @@ -112,6 +113,10 @@ final GoRouter routes = GoRouter( path: 'broadcast', pageBuilder: (context, state) => MaterialPage(child: BroadcastPage()), ), + GoRoute( + path: 'chat_room', + pageBuilder: (context, state) => MaterialPage(child: ChatRoom()), + ), ], ), ],