-
- {/* Conditionally render tables based on currentRound */}
- {currentRound === -1
- ? dummyDataRounds.map((roundData, index) => renderTable(roundData, index)) // Render a table for each round if "All Rounds" is selected
- : renderTable(dummyDataRounds[currentRound], currentRound)}
-
-
-
-
-
-
- {showReviews && (
-
-
Reviews
-
-
- )}
- {ShowAuthorFeedback && (
-
-
Author Feedback
-
-
- )}
-
-
-
-
Grade and comment for submission
- Grade: {dummyData.grade}
-
- Comment: {dummyData.comment}
-
- Late Penalty: {dummyData.late_penalty}
-
-
-
- Back
-
- );
-};
-
-export default ReviewTable;
diff --git a/src/pages/ViewTeamGrades/utils.ts b/src/pages/ViewTeamGrades/utils.ts
index 8cf8d2a2..ada25a47 100644
--- a/src/pages/ViewTeamGrades/utils.ts
+++ b/src/pages/ViewTeamGrades/utils.ts
@@ -1,4 +1,4 @@
-import { ReviewData } from './App';
+import { ReviewData } from '../../components/HeatGrid/App';
// Function to get color class based on score and maxScore
export const getColorClass = (score: number, maxScore: number) => {
diff --git a/src/utils/axios_client.ts b/src/utils/axios_client.ts
index b5fe47d7..77c9d2cd 100644
--- a/src/utils/axios_client.ts
+++ b/src/utils/axios_client.ts
@@ -6,7 +6,7 @@ import { getAuthToken } from "./auth";
*/
const axiosClient = axios.create({
- baseURL: "http://localhost:3002/api/v1",
+ baseURL: "http://152.7.178.127:3002/api/v1",
timeout: 1000,
headers: {
"Content-Type": "application/json",