Upgrade Web UI to Create-React-App 4 and React 17 (#1105)

* Upgrade to CRA 4.0.3

* Try to fix tests. No lucky

* Fix new ESLint errors

* Fix JS tests and remove unwanted dependency. (#1106)

* Fix tests

* Fix lint

* Remove React v16 workaround (fixed in v17)

* Force eslint to break on warnings

* Lint now needs to be called explicitly in the pipeline

Co-authored-by: Yash Jipkate <34203227+YashJipkate@users.noreply.github.com>
This commit is contained in:
Deluan Quintão
2021-05-25 09:58:06 -04:00
committed by GitHub
parent d9f268266c
commit 5631493cc4
15 changed files with 6337 additions and 6515 deletions
+2 -1
View File
@@ -14,7 +14,7 @@ import VideoLibraryOutlinedIcon from '@material-ui/icons/VideoLibraryOutlined'
import config from '../config'
import DynamicMenuIcon from '../layout/DynamicMenuIcon'
export default {
const albumLists = {
all: {
icon: (
<DynamicMenuIcon
@@ -79,4 +79,5 @@ export default {
},
}
export default albumLists
export const defaultAlbumList = 'recentlyAdded'