Skip to content

Commit

Permalink
added new btns in project
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarika-padmanaban committed Feb 29, 2024
1 parent 1ec98b8 commit 5d6c85b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/app/ui/pages/chat/AddGlossary.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ const AddGlossary = ({
Sourcelang,
addBtnClickHandler,
}) => {
/* eslint-disable react-hooks/exhaustive-deps */

const classes = DatasetStyle();
const dispatch = useDispatch();
const allLevels = glossaryLevel;
Expand Down
2 changes: 2 additions & 0 deletions src/app/ui/pages/chat/Glossary.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ import SuggestAnEditAPI from "../../../actions/api/Annotate/SuggestAnEditAPI";
import { setGlossarySentence } from "@/Lib/Features/actions/GlossarysentenceAPI";

export default function Glossary(props) {
/* eslint-disable react-hooks/exhaustive-deps */

const { taskData } = props;
const dispatch = useDispatch();
const Glossarysentence = useSelector((state) => state.getGlossarySentenceAPI?.data);
Expand Down
2 changes: 2 additions & 0 deletions src/app/ui/pages/chat/InstructionDrivenChatPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ const style = {
};

const InstructionDrivenChatPage = () => {
/* eslint-disable react-hooks/exhaustive-deps */

let inputValue = "";
const classes = headerStyle();
const { taskId } = useParams();
Expand Down
3 changes: 2 additions & 1 deletion src/app/ui/pages/chat/SuggestAnEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ const SuggestAnEdit = ({
}) => {
const classes = DatasetStyle();
const dispatch = useDispatch();

/* eslint-disable react-hooks/exhaustive-deps */

const [Targetlanguage, setTargetlanguage] = useState([]);
const [snackbar, setSnackbarInfo] = useState({
open: false,
Expand Down

0 comments on commit 5d6c85b

Please sign in to comment.