chore: Flatten left nav in preparation to refactor drag to reorder (#1689)

* flatten hierarchy
* fix drop to import positioning on collections
This commit is contained in:
Nan Yu
2020-12-01 21:59:18 -08:00
committed by GitHub
parent fe62048890
commit 474fbf07e6
5 changed files with 199 additions and 236 deletions

View File

@@ -26,7 +26,7 @@ function Sidebar({ location, children }: Props) {
if (location !== previousLocation) {
ui.hideMobileSidebar();
}
}, [ui, location]);
}, [ui, location, previousLocation]);
const content = (
<Container