Skip to content

Commit

Permalink
fix(submissionDetails): retrieve task_id directly from submissionDeta…
Browse files Browse the repository at this point in the history
…ils (#1595)
  • Loading branch information
NSUWAL123 authored Jun 21, 2024
1 parent 1457eb5 commit 8b4e2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/views/SubmissionDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const SubmissionDetails = () => {
const submissionDetails = useAppSelector((state) => state.submission.submissionDetails);
const submissionDetailsLoading = useAppSelector((state) => state.submission.submissionDetailsLoading);

const taskId = submissionDetails?.all?.task_id;
const taskId = submissionDetails?.task_id;

useEffect(() => {
dispatch(GetProjectDashboard(`${import.meta.env.VITE_API_URL}/projects/project_dashboard/${projectId}`));
Expand Down

0 comments on commit 8b4e2e9

Please sign in to comment.