diff --git a/src/components/SlideViewer.tsx b/src/components/SlideViewer.tsx index c32b992a..989a9aa1 100644 --- a/src/components/SlideViewer.tsx +++ b/src/components/SlideViewer.tsx @@ -445,7 +445,7 @@ class SlideViewer extends React.Component { private roiStyles: {[key: string]: dmv.viewer.ROIStyleOptions} = {} - private readonly selectionColor: number[] = [140, 184, 198] + private readonly selectionColor: number[] = [140, 184, 198] private readonly selectedRoiStyle: dmv.viewer.ROIStyleOptions = { stroke: { color: [...this.selectionColor, 1], width: 3 }, @@ -1443,7 +1443,7 @@ class SlideViewer extends React.Component { }) this.setState({ selectedRoiUIDs: new Set([selectedRoi.uid]), - selectedRoi: selectedRoi, + selectedRoi: selectedRoi }) } else { this.setState({ @@ -1455,7 +1455,7 @@ class SlideViewer extends React.Component { handleRoiSelectionCancellation (): void { this.setState({ - isSelectedRoiModalVisible: false, + isSelectedRoiModalVisible: false }) }