diff --git a/extensions/cornerstone/src/Viewport/OHIFCornerstoneViewport.tsx b/extensions/cornerstone/src/Viewport/OHIFCornerstoneViewport.tsx index 850a31307..91e40c082 100644 --- a/extensions/cornerstone/src/Viewport/OHIFCornerstoneViewport.tsx +++ b/extensions/cornerstone/src/Viewport/OHIFCornerstoneViewport.tsx @@ -130,7 +130,6 @@ const OHIFCornerstoneViewport = React.memo(props => { const [{ isCineEnabled, cines }, cineService] = useCine(); const [{ activeViewportIndex }] = useViewportGrid(); const [enabledVPElement, setEnabledVPElement] = useState(null); - const elementRef = useRef(); const { @@ -435,7 +434,6 @@ const OHIFCornerstoneViewport = React.memo(props => { displaySetOptions, presentations ); - if (measurement) { cs3DTools.annotation.selection.setAnnotationSelected(measurement.uid); } @@ -488,11 +486,8 @@ const OHIFCornerstoneViewport = React.memo(props => {
@@ -659,7 +654,6 @@ function _jumpToMeasurement( const viewportInfo = cornerstoneViewportService.getViewportInfoByIndex( viewportIndex ); - if (enabledElement) { // See how the jumpToSlice() of Cornerstone3D deals with imageIdx param. const viewport = enabledElement.viewport as diff --git a/platform/ui/src/components/Dialog/Footer.tsx b/platform/ui/src/components/Dialog/Footer.tsx index c1a938024..5f571345c 100644 --- a/platform/ui/src/components/Dialog/Footer.tsx +++ b/platform/ui/src/components/Dialog/Footer.tsx @@ -18,6 +18,7 @@ const Footer = ({ actions, className, onSubmit, value }) => { return (