Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Sep 13, 2024
1 parent 1742aa3 commit 0eda952
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/components/PathwayCourse/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import {
Button,
Skeleton,
FormControlLabel,
Checkbox
Checkbox,
} from "@mui/material";
import CircularProgress from "@mui/material/CircularProgress";
import PathwayCourseBatchEnroll1 from "../BatchClassComponents/PathwayCourseBatchEnroll1";
Expand Down Expand Up @@ -224,7 +224,12 @@ function PathwayCourse() {

const history = useHistory();
useEffect(() => {
dispatch(pathwayActions.getPathwaysCourse({ pathwayId: pathwayId, authToken : user?.data?.token}));
dispatch(
pathwayActions.getPathwaysCourse({
pathwayId: pathwayId,
authToken: user?.data?.token,
})
);
}, [dispatch, pathwayId]);

///////////////////////complete portion data////////////////////
Expand Down Expand Up @@ -280,7 +285,7 @@ function PathwayCourse() {
}
}, [dispatch, pathwayId]);

////////////////// upcoming classes data ////////////////
////////////////// upcoming classes data ////////////////
useEffect(() => {
if (user?.data?.token && enrolledBatches?.length > 0) {
dispatch(
Expand Down Expand Up @@ -724,8 +729,8 @@ function PathwayCourse() {
display: "flex",
gap: "15px",
flexDirection: "column",
boxShadow: '0px 1px 2px 0px rgba(0, 0, 0, 0.06), 0px 2px 1px 0px rgba(0, 0, 0, 0.04), 0px 1px 5px 0px rgba(0, 0, 0, 0.08)',

boxShadow:
"0px 1px 2px 0px rgba(0, 0, 0, 0.06), 0px 2px 1px 0px rgba(0, 0, 0, 0.04), 0px 1px 5px 0px rgba(0, 0, 0, 0.08)",
}}
>
<Typography
Expand Down

0 comments on commit 0eda952

Please sign in to comment.