chore: React-Dropzone version bump (#1699)

* update dropzone to new version

* remove global styles import

* change bg on active item on drag as well

* add back background
This commit is contained in:
Nan Yu
2020-12-06 17:50:59 -08:00
committed by GitHub
parent ac2060b166
commit aa59f5fe09
6 changed files with 57 additions and 55 deletions

View File

@@ -41,11 +41,7 @@ class CollectionLink extends React.Component<Props> {
return (
<>
<DropToImport
key={collection.id}
collectionId={collection.id}
activeClassName="activeDropZone"
>
<DropToImport key={collection.id} collectionId={collection.id}>
<SidebarLink
key={collection.id}
to={collection.url}

View File

@@ -47,8 +47,8 @@ function SidebarLink({
const activeStyle = {
color: theme.text,
background: theme.sidebarItemBackground,
fontWeight: 600,
background: theme.sidebarItemBackground,
...style,
};