Skip to content

Commit 272b4af

Browse files
clean-up
1 parent ef5a1f7 commit 272b4af

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/containers/Sidebar/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ class SidebarContainer extends Component {
4343
return
4444
}
4545

46-
// if we don't have a project id
47-
// and we already have projects in the list,
46+
// if we already have projects in the list,
4847
// don't load the projects again
49-
if (!projectId && !!projects && !!projects.length) {
48+
if (!!projects && !!projects.length) {
5049
return
5150
}
5251

0 commit comments

Comments
 (0)