Skip to content

Commit 4f86f46

Browse files
walesch-yanmarcus-oscarsson
authored andcommitted
remove unused variables set in constructor
1 parent 27858b5 commit 4f86f46

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

ui/src/components/SampleView/SampleImage.jsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,7 @@ export default class SampleImage extends React.Component {
5454
this.drawGridPlugin = new DrawGridPlugin();
5555
this.drawGridPlugin.setGridResultFormat(props.meshResultFormat);
5656
this._keyPressed = null;
57-
this.gridStarted = false; // eslint-disable-line react/no-unused-class-component-methods
58-
this.girdOrigin = null; // eslint-disable-line react/no-unused-class-component-methods
59-
this.lineGroup = null; // eslint-disable-line react/no-unused-class-component-methods
6057
this.player = null;
61-
this.centringCross = []; // eslint-disable-line react/no-unused-class-component-methods
6258
this.removeShapes = this.removeShapes.bind(this);
6359
}
6460

@@ -803,13 +799,6 @@ export default class SampleImage extends React.Component {
803799
}
804800
}
805801

806-
// eslint-disable-next-line react/no-unused-class-component-methods
807-
preventAction(e) {
808-
e.preventDefault();
809-
e.stopPropagation();
810-
e.nativeEvent.stopImmediatePropagation();
811-
}
812-
813802
renderSampleView() {
814803
const {
815804
imageRatio,
@@ -929,7 +918,6 @@ export default class SampleImage extends React.Component {
929918
setHCellSpacing={this.setHCellSpacing}
930919
setVCellSpacing={this.setVCellSpacing}
931920
gridList={this.props.grids}
932-
currentGrid={this.drawGridPlugin.currentGridData()}
933921
removeGrid={this.props.sampleViewActions.deleteShape}
934922
saveGrid={this.saveGrid}
935923
toggleVisibility={this.toggleGridVisibility}

0 commit comments

Comments
 (0)