feat: Sidebar Improvements (#1862)

* wip

* refactor behaviorg

* stash

* simplify
This commit is contained in:
Tom Moor
2021-02-07 21:51:56 -08:00
committed by GitHub
parent ac6c48817c
commit cc90c8de1c
10 changed files with 207 additions and 221 deletions

View File

@@ -42,8 +42,6 @@ class Collections extends React.Component<Props> {
@keydown("n")
goToNewDocument() {
if (this.props.ui.editMode) return;
const { activeCollectionId } = this.props.ui;
if (!activeCollectionId) return;