feat(ui): Allow drag-and-drop song title from player to sidebar playlist (#2435)
* feat(ui): Allow drag-and-drop song title from player to sidebar playlist Signed-off-by: egor.aristov <egor.aristov@vk.team> * prettier --------- Signed-off-by: egor.aristov <egor.aristov@vk.team> Co-authored-by: egor.aristov <egor.aristov@vk.team> Co-authored-by: Deluan Quintão <deluan@navidrome.org>
This commit is contained in:
+5
-1
@@ -36,6 +36,8 @@ import config, { shareInfo } from './config'
|
||||
import { keyMap } from './hotkeys'
|
||||
import useChangeThemeColor from './useChangeThemeColor'
|
||||
import SharePlayer from './share/SharePlayer'
|
||||
import { HTML5Backend } from 'react-dnd-html5-backend'
|
||||
import { DndProvider } from 'react-dnd'
|
||||
|
||||
const history = createHashHistory()
|
||||
|
||||
@@ -136,7 +138,9 @@ const AppWithHotkeys = () => {
|
||||
}
|
||||
return (
|
||||
<HotKeys keyMap={keyMap}>
|
||||
<App />
|
||||
<DndProvider backend={HTML5Backend}>
|
||||
<App />
|
||||
</DndProvider>
|
||||
</HotKeys>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user