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:
Egor
2024-10-02 20:10:24 +03:00
committed by GitHub
parent de04393b47
commit 0281d06b01
3 changed files with 29 additions and 17 deletions
+5 -1
View File
@@ -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>
)
}