mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-14 06:08:46 +01:00
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:
parent
d9f268266c
commit
5631493cc4
15 changed files with 6438 additions and 6616 deletions
|
|
@ -7,7 +7,7 @@ import throttle from 'lodash.throttle'
|
|||
import pick from 'lodash.pick'
|
||||
import { loadState, saveState } from './persistState'
|
||||
|
||||
export default ({
|
||||
const createAdminStore = ({
|
||||
authProvider,
|
||||
dataProvider,
|
||||
history,
|
||||
|
|
@ -59,3 +59,5 @@ export default ({
|
|||
sagaMiddleware.run(saga)
|
||||
return store
|
||||
}
|
||||
|
||||
export default createAdminStore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue