We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c697304 commit bb335baCopy full SHA for bb335ba
src/ui/pages/roomRequest/NewRoomRequest.tsx
@@ -349,11 +349,7 @@ const NewRoomRequest: React.FC<NewRoomRequestProps> = ({
349
return;
350
}
351
const response = await createRoomRequest(values);
352
- await navigate("/roomRequests");
353
- notifications.show({
354
- title: "Room Request Submitted",
355
- message: `The request ID is ${response.id}.`,
356
- });
+ navigate(`/roomRequests/${values.semester}/${response.id}`);
357
} catch (e) {
358
notifications.show({
359
color: "red",
0 commit comments