diff --git a/app/components/Layout/components/SidebarCollections.js b/app/components/Layout/components/SidebarCollections.js index 38507c3aa..77b0f670b 100644 --- a/app/components/Layout/components/SidebarCollections.js +++ b/app/components/Layout/components/SidebarCollections.js @@ -16,6 +16,7 @@ import CollectionMenu from 'menus/CollectionMenu'; import CollectionsStore from 'stores/CollectionsStore'; import UiStore from 'stores/UiStore'; import Document from 'models/Document'; +import Collection from 'models/Collection'; import DocumentsStore from 'stores/DocumentsStore'; import { type NavigationNode } from 'types'; @@ -36,6 +37,7 @@ type Props = { render() { const { history, + location, collections, activeDocument, ui, @@ -50,6 +52,7 @@ type Props = { void, + prefetchDocument: (id: string) => Promise, +}; + @observer class CollectionLink extends Component { + props: CollectionLinkProps; dropzoneRef; @observable menuOpen = false;