Skip to content

Commit

Permalink
Task #216708 fix: fixed lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
deechavhan098 committed Apr 12, 2024
1 parent 7865bb6 commit 2371510
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/components/Assesment/Assesment.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
import practicebg from "../../assets/images/practice-bg.svg";
import {
useNavigate,
useSearchParams,
} from "../../../node_modules/react-router-dom/dist/index";
import { useEffect, useState } from "react";
import axios from "../../../node_modules/axios/index";
Expand Down
3 changes: 1 addition & 2 deletions src/components/Layouts.jsx/MainLayout.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Box, Card, CardContent, IconButton, Typography } from "@mui/material";
import back from "../../assets/images/back-arrow.svg";
import { Box, Card, CardContent, Typography } from "@mui/material";
import Stack from '@mui/material/Stack';

import practicebgstone from "../../assets/images/practice-bg-stone.svg";
Expand Down
1 change: 0 additions & 1 deletion src/components/Mechanism/WordsOrImage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ const WordsOrImage = ({
<Box sx={{ display: "flex", justifyContent: "center" }}>
<img
src={image}
alt="image"
style={{
maxWidth: "450px",
maxHeight: "130px",
Expand Down
2 changes: 1 addition & 1 deletion src/views/Practice/Practice.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ const Practice = () => {
}
);
setLocalData("previous_level", getSetData.data.previous_level);
if (getSetData.data.sessionResult == "pass") {
if (getSetData.data.sessionResult === "pass") {
try{
await axios.post(
`${process.env.REACT_APP_LEARNER_AI_ORCHESTRATION_HOST}/${config.URLS.ADD_LESSON}`,
Expand Down

0 comments on commit 2371510

Please sign in to comment.