Skip to content

Commit

Permalink
IssueId #223082 feat: Create Log Out Button in Test-Rig [React]
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinkyapandetekdi committed Jul 12, 2024
1 parent 18d9bb9 commit bb7c1ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Assesment/Assesment.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ import config from "../../utils/urlConstants.json";
import panda from "../../assets/images/panda.svg";
import cryPanda from "../../assets/images/cryPanda.svg";
import { uniqueId } from "../../services/utilService";
import { end } from "../../services/telementryService";

export const LanguageModal = ({ lang, setLang, setOpenLangModal }) => {
const [selectedLang, setSelectedLang] = useState(lang);
Expand Down Expand Up @@ -355,6 +356,7 @@ export const ProfileHeader = ({

const handleLogout = () => {
localStorage.clear();
end({});
navigate("/Login");
};

Expand Down

0 comments on commit bb7c1ec

Please sign in to comment.