Skip to content

Commit 0a7839b

Browse files
committed
removed unnecessary index tracking
1 parent 55baaba commit 0a7839b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/app/containers/MainContainer.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class MainContainer extends Component {
1313
this.state = {
1414
snapshots: [],
1515
snapshotIndex: 0,
16-
currentIndex: null,
1716
port: null,
1817
mode: {
1918
locked: false,
@@ -106,7 +105,6 @@ class MainContainer extends Component {
106105

107106
handleJumpSnapshot(snapshotIndex) {
108107
const { snapshots, port } = this.state;
109-
this.setState({ currentIndex: snapshotIndex });
110108
port.postMessage({ action: 'jumpToSnap', payload: snapshots[snapshotIndex] });
111109
}
112110

0 commit comments

Comments
 (0)