Skip to content

Commit

Permalink
testlab bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
devcylenz committed Jun 8, 2023
1 parent 911f73d commit bf0fb9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,13 @@ const Preparation = ({
const handleSubmit = (event: React.FormEvent<HTMLFormElement>) => {
event.preventDefault();
if (
testData.componentLinkDocs === componentLinkDocs &&
componentLinkDocs !== "" &&
testData.componentLinkDocs !== componentLinkDocs &&
testData.componentExists
) {
changeLinkDocs(componentLinkDocs);
}
if (screenreader && chosenScreenreader) {
console.log(chosenScreenreader);
changeScreenreader(chosenScreenreader);
}
navigate("../test");
Expand Down
1 change: 0 additions & 1 deletion frontend/src/pages/testlab/test-lab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ const TestLab = () => {
const changeExists = (exists: boolean) => {
setTestData({ ...testData, componentExists: exists });
};

const changeScreenreader = (screenreader: string) => {
setTestData({ ...testData, userScreenreader: screenreader });
};
Expand Down

0 comments on commit bf0fb9d

Please sign in to comment.