Skip to content

Commit

Permalink
Build fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDijkema committed Dec 6, 2024
1 parent 91766d2 commit de3deb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/components/digitalSpecimen/DigitalSpecimen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,7 @@ const DigitalSpecimen = () => {

<DigitalSpecimenTourSteps SetSelectedTabIndex={setSelectedTabIndex} />
<AnnotateTourSteps SetAnnotationMode={setAnnotationMode} />
<MasTourSteps annotationMode={annotationMode}
SetAnnotationMode={setAnnotationMode}
/>
<MasTourSteps SetAnnotationMode={setAnnotationMode} />
</div>
);
};
Expand Down
4 changes: 1 addition & 3 deletions src/components/digitalSpecimen/tourSteps/masTourSteps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,17 @@ import DigitalSpecimenTourStepsText from 'sources/tourText/digitalSpecimen.json'

/* Props Type */
type Props = {
annotationMode: boolean,
SetAnnotationMode: Function
};


/**
* Component that renders the tour steps for the machine annotation services on the digital specimen page
* @param annotationMode Boolean that indicates if the annotation mode is on or not
* @param SetAnnotationMode Function to set the annotation mode
* @returns JSX Component
*/
const MasTourSteps = (props: Props) => {
const { annotationMode, SetAnnotationMode } = props;
const { SetAnnotationMode } = props;

/* Hooks */
const dispatch = useAppDispatch();
Expand Down

0 comments on commit de3deb5

Please sign in to comment.