- //
- //
- //
- //
- //
- //
- //
- //
- // Anya Gupta
- //
- // Content creator, commisioner
- //
- //
- //
- //
- // {!isBlocked && (
- //
- //
- // {t("BLOCK")}
- //
- // )}
- // {showUnblockOption && (
- //
- //
- // {t("UNBLOCK")}
- //
- // )}
- //
-
- //
- //
- //
- // Anya Gupta is a manager with the department of Revenue and taxes and has actively contributed to the growth and authenticity of the knowledge curated for the betterment of the department.
- // Connect with them to get insights on what they do or simply answers to your question!
- //
- //
- //
- //
- //
- //
-
- //
);
};
diff --git a/packages/nulp_elite/src/pages/content/Player.js b/packages/nulp_elite/src/pages/content/Player.js
index 9c255fe6..61823816 100644
--- a/packages/nulp_elite/src/pages/content/Player.js
+++ b/packages/nulp_elite/src/pages/content/Player.js
@@ -29,7 +29,6 @@ import AccordionSummary from '@mui/material/AccordionSummary';
import AccordionDetails from '@mui/material/AccordionDetails';
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
import md5 from 'md5';
-import { TroubleshootRounded } from "@mui/icons-material";
const urlConfig = require("../../configs/urlConfig.json");
const Player = () => {
diff --git a/packages/nulp_elite/src/pages/content/joinCourse.js b/packages/nulp_elite/src/pages/content/joinCourse.js
index 122e3cb8..9c525555 100644
--- a/packages/nulp_elite/src/pages/content/joinCourse.js
+++ b/packages/nulp_elite/src/pages/content/joinCourse.js
@@ -20,12 +20,9 @@ import Button from "@mui/material/Button";
import Typography from "@mui/material/Typography";
import Breadcrumbs from "@mui/material/Breadcrumbs";
import Link from "@mui/material/Link";
-import ShareOutlinedIcon from "@mui/icons-material/ShareOutlined";
import Grid from "@mui/material/Grid";
-import { useParams, useNavigate, useLocation } from "react-router-dom";
+import { useNavigate, useLocation } from "react-router-dom";
import axios from "axios";
-import SummarizeOutlinedIcon from "@mui/icons-material/SummarizeOutlined";
-import ArrowBackOutlinedIcon from "@mui/icons-material/ArrowBackOutlined";
import * as util from "../../services/utilService";
import Snackbar from "@mui/material/Snackbar";
import MuiAlert from "@mui/material/Alert";
@@ -37,7 +34,6 @@ import Modal from "@mui/material/Modal";
import appConfig from "../../configs/appConfig.json";
const urlConfig = require("../../configs/urlConfig.json");
import ToasterCommon from "../ToasterCommon";
-import { TextField } from "@mui/material";
import Chat from "pages/connections/chat";
import {
FacebookShareButton,
@@ -47,10 +43,7 @@ import {
FacebookIcon,
WhatsappIcon,
LinkedinIcon,
- TwitterIcon,
} from "react-share";
-import AddConnections from "pages/connections/AddConnections";
-// import speakerOne from "./../assets/speakerOne.png";
import CheckCircleIcon from "@mui/icons-material/CheckCircle";
const routeConfig = require("../../configs/routeConfig.json");
@@ -93,9 +86,6 @@ const JoinCourse = () => {
if (contentId && contentId.endsWith("=")) {
contentId = contentId.slice(0, -1);
}
-
- // const { contentId } = location.state || {};
- // const { contentId } = useParams();
const _userId = util.userId(); // Assuming util.userId() is defined
const shareUrl = window.location.href; // Current page URL
const [showMore, setShowMore] = useState(false);
@@ -320,10 +310,6 @@ const JoinCourse = () => {
};
const calculateProgress = async () => {
- console.log("batchDetails?-------", batchDetails);
-
- console.log("batchDetails?.batchId", batchDetails?.batchId);
- console.log("courseData?-----", courseData);
console.log(
"courseData?.result?.content?.children",
@@ -426,9 +412,6 @@ const JoinCourse = () => {
const url = `${urlConfig.URLS.CONTENT_PREFIX}${urlConfig.URLS.COURSE.USER_CONTENT_STATE_READ}`;
const response = await axios.post(url, request);
const data = response.data;
-
- console.log("API Response Data:", data);
-
setCourseProgress(data);
checkCourseComplition(allContents, data);
@@ -569,15 +552,6 @@ const JoinCourse = () => {
};
const isEnrolled = () => {
- // console.log("userCourseData?.courses", userCourseData?.courses);
- // console.log(
- // "userCourseData?.courses",
- // userCourseData?.courses?.map((course) => course.contentId)
- // );
- // console.log(
- // "userCourseData?.courses?.some",
- // userCourseData?.courses?.some((course) => course.contentId === contentId)
- // );
return (
userCourseData &&
userCourseData.courses &&
@@ -616,8 +590,6 @@ const JoinCourse = () => {
};
const renderActionButton = () => {
- // console.log("ConsumedContents", ConsumedContents);
- // console.log("allContents", allContents);
if (isEnrolled() || enrolled) {
if (isNotStarted) {
return (
@@ -1083,14 +1055,6 @@ const JoinCourse = () => {
width: "100%",
}}
/>
- {/*