feat: option to display albums as a grid

This commit is contained in:
Deluan
2020-03-28 16:25:55 -04:00
parent fc0621646b
commit f1af646cee
7 changed files with 271 additions and 42 deletions
+5 -1
View File
@@ -13,6 +13,7 @@ import album from './album'
import artist from './artist'
import { createMuiTheme } from '@material-ui/core/styles'
import { Player, playQueueReducer } from './audioplayer'
import { albumViewReducer } from './album/albumState'
const theme = createMuiTheme(DarkTheme)
@@ -34,7 +35,10 @@ const App = () => {
return (
<Admin
theme={theme}
customReducers={{ queue: playQueueReducer }}
customReducers={{
queue: playQueueReducer,
albumView: albumViewReducer
}}
dataProvider={dataProvider}
authProvider={authProvider}
i18nProvider={i18nProvider}