remove getLastTermIndex

This commit is contained in:
Labhansh Agrawal 2019-11-24 18:12:11 +05:30 committed by Benjamin Staneck
parent 0721c4c1d0
commit ac782f382b

View file

@ -53,10 +53,6 @@ export default class Terms extends React.Component {
return this.getTermByUid(this.props.activeSession); return this.getTermByUid(this.props.activeSession);
} }
getLastTermIndex() {
return this.props.sessions.length - 1;
}
onTerminal(uid, term) { onTerminal(uid, term) {
this.terms[uid] = term; this.terms[uid] = term;
} }