Skip to content

Commit

Permalink
removed duplicate button
Browse files Browse the repository at this point in the history
  • Loading branch information
ZimLim committed Sep 9, 2024
1 parent 393b97a commit fd2f26e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/Transition.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { FC, useContext } from "react";
import { GeneralContext, TestPhase } from "../contexts/general.context";
import { Button } from "@mui/material";
import { ProgressPage } from "./ProgressPage";

interface TransitionProps {
Expand All @@ -18,9 +17,6 @@ export const Transition: FC<TransitionProps> = ({ handleTransition }) => {
{cxt?.testPhase === TestPhase.DIGIT_SYMBOL_MATCHING && <ProgressPage id={4} onClick={handleTransition}/>}
{cxt?.testPhase === TestPhase.CHOICE_REACTION_TIME && <ProgressPage id={5} onClick={handleTransition}/>}
{cxt?.testPhase === TestPhase.SPACIAL_MEMORY && <ProgressPage id={6} onClick={handleTransition}/>}
<Button variant="contained" onClick={handleTransition}>
Continue
</Button>
</>
);
};

0 comments on commit fd2f26e

Please sign in to comment.