Skip to content

Commit ca904d6

Browse files
committed
modify: add comment for handleMousUp action
1 parent f461d45 commit ca904d6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

browser/main/Main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ class Main extends React.Component {
8585
}
8686

8787
handleMouseUp (e) {
88+
// Change width of NoteList component.
8889
if (this.state.isRightSliderFocused) {
8990
this.setState({
9091
isRightSliderFocused: false
@@ -99,6 +100,8 @@ class Main extends React.Component {
99100
})
100101
})
101102
}
103+
104+
// Change width of SideNav component.
102105
if (this.state.isLeftSliderFocused) {
103106
this.setState({
104107
isLeftSliderFocused: false

0 commit comments

Comments
 (0)