Skip to content

Commit 26b2170

Browse files
author
Lucas Rebscher
committed
#279 Move NetStim to top
1 parent 9a3fb2e commit 26b2170

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

webapp/components/definition/stimulationSources/NetPyNEStimulationSource.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,13 @@ class NetPyNEStimulationSource extends React.Component {
3737
errorDetails: undefined,
3838
};
3939
this.stimSourceTypeOptions = [
40+
{ type: 'NetStim' },
4041
{ type: 'IClamp' },
4142
{ type: 'VClamp' },
4243
{ type: 'SEClamp' },
43-
{ type: 'NetStim' },
4444
{ type: 'AlphaSynapse' },
4545
];
46-
this.handleStimSourceTypeChange = this.handleStimSourceTypeChange.bind(
47-
this,
48-
);
46+
this.handleStimSourceTypeChange = this.handleStimSourceTypeChange.bind(this);
4947
}
5048

5149
UNSAFE_componentWillReceiveProps (nextProps) {

0 commit comments

Comments
 (0)