feat: use different resource for listing songs in albums

This commit is contained in:
Deluan
2020-02-14 09:02:32 -05:00
parent b2d022b823
commit 7f94660183
5 changed files with 24 additions and 11 deletions
-6
View File
@@ -1,13 +1,7 @@
import React, { Fragment, useEffect } from 'react'
import { useUnselectAll } from 'react-admin'
import AddToQueueButton from './AddToQueueButton'
export const SongBulkActions = (props) => {
const unselectAll = useUnselectAll()
useEffect(() => {
console.log('UNSELECT!')
unselectAll('song')
}, [])
return (
<Fragment>
<AddToQueueButton {...props} />