Skip to content

Commit

Permalink
fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
NIDHI2023 committed Jan 20, 2025
1 parent 9adc43c commit b95f247
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/pages/SplitView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import smsNotif from "../../media/smsNotif.svg";
import { addBanner } from "../../redux/actions/announcements";
import Banner from "../includes/Banner";
import FeedbackPrompt from "../includes/FeedbackPrompt";
import Wrapped from "../includes/Wrapped";
import WrappedCountdown from "../includes/WrappedCountdown";
import { WRAPPED_START_DATE, WRAPPED_LAUNCH_DATE } from "../../constants";
// import Wrapped from "../includes/Wrapped";
// import WrappedCountdown from "../includes/WrappedCountdown";
// import { WRAPPED_START_DATE, WRAPPED_LAUNCH_DATE } from "../../constants";

// Also update in the main LESS file
const MOBILE_BREAKPOINT = 920;
Expand Down Expand Up @@ -86,8 +86,8 @@ const SplitView = ({

const [removeQuestionId, setRemoveQuestionId] = useState<string | undefined>(undefined);
const [displayFeedbackPrompt, setDisplayFeedbackPrompt] = useState<boolean>(false);
const [displayWrapped, setDisplayWrapped] = useState<boolean>(false);
const [countdownZero, setCountdownZero] = useState<boolean>(false);
// const [displayWrapped, setDisplayWrapped] = useState<boolean>(false);
// const [countdownZero, setCountdownZero] = useState<boolean>(false);
const [removedQuestionId, setRemovedQuestionId] = useState<string | undefined>(undefined);
const [showCalendarModal, setShowCalendarModal] = useState<boolean>(false);
const [isDayExport, setIsDayExport] = useState<boolean>(false);
Expand Down Expand Up @@ -189,8 +189,8 @@ const SplitView = ({
}
}, [addBanner, user]);

const start = new Date(WRAPPED_START_DATE);
const launch = new Date(WRAPPED_LAUNCH_DATE);
// const start = new Date(WRAPPED_START_DATE);
// const launch = new Date(WRAPPED_LAUNCH_DATE);

return (
<>
Expand All @@ -200,7 +200,7 @@ const SplitView = ({
context="student"
courseId={match.params.courseId}
course={course}
countdownZero={countdownZero}
// countdownZero={countdownZero}
// setDisplayWrapped={setDisplayWrapped}
/>
{banners.map((banner, index) => (
Expand Down

0 comments on commit b95f247

Please sign in to comment.