An unrecoverable error occurred{window.Bugsnag ||
(true && ' and our engineers have been notified')}. Please try{' '}
diff --git a/app/components/Sidebar/components/Collections.js b/app/components/Sidebar/components/Collections.js
index 0ad66df5..a4fdbcd0 100644
--- a/app/components/Sidebar/components/Collections.js
+++ b/app/components/Sidebar/components/Collections.js
@@ -166,6 +166,7 @@ const DocumentLink = observer(
activeDocumentRef,
prefetchDocument,
depth,
+ history,
}: DocumentLinkProps) => {
const isActiveDocument =
activeDocument && activeDocument.id === document.id;
diff --git a/app/models/Collection.js b/app/models/Collection.js
index 1516e77f..ba7e6468 100644
--- a/app/models/Collection.js
+++ b/app/models/Collection.js
@@ -1,7 +1,6 @@
// @flow
import { extendObservable, action, computed, runInAction } from 'mobx';
import invariant from 'invariant';
-import _ from 'lodash';
import BaseModel from 'models/BaseModel';
import { client } from 'utils/ApiClient';
diff --git a/app/scenes/Document/Document.js b/app/scenes/Document/Document.js
index eea6bcf2..7634110f 100644
--- a/app/scenes/Document/Document.js
+++ b/app/scenes/Document/Document.js
@@ -25,7 +25,6 @@ import DocumentsStore from 'stores/DocumentsStore';
import CollectionsStore from 'stores/CollectionsStore';
import DocumentMenu from 'menus/DocumentMenu';
import SaveAction from './components/SaveAction';
-import type EditorType from 'components/Editor';
import LoadingPlaceholder from 'components/LoadingPlaceholder';
import LoadingIndicator from 'components/LoadingIndicator';
import Collaborators from 'components/Collaborators';
@@ -238,77 +237,77 @@ class DocumentScene extends Component {