Skip to content

Commit c5facdb

Browse files
committed
grading complete, uses username param now
1 parent ae7267c commit c5facdb

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/Screens/TaskView/TaskView.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ function TaskView() {
1515
const { taskId } = useParams<Record<string, string>>();
1616
const { username } = useParams<Record<string, string>>();
1717

18-
console.log(taskId);
19-
console.log(username);
20-
2118
const { data: taskSubmissionQuery } = useTaskSubmissionResultQuery({
2219
variables: {
2320
taskId,
@@ -29,9 +26,6 @@ function TaskView() {
2926
variables: { taskId },
3027
});
3128

32-
console.log(taskSubmissionQuery);
33-
console.log(taskByIdQuery);
34-
3529
const maxPage: number =
3630
taskByIdQuery === undefined || taskByIdQuery.task.pages === undefined
3731
? 0
@@ -57,7 +51,7 @@ function TaskView() {
5751
taskInformation={taskByIdQuery}
5852
page={page}
5953
taskSubmissionResult={taskSubmissionQuery}
60-
studentId="Google_114813486146105420824"
54+
studentId={username}
6155
/>
6256
</div>
6357
</div>

0 commit comments

Comments
 (0)