refactor: reorder favorites

This commit is contained in:
rcmerci
2024-01-26 16:54:37 +08:00
parent ec815711dc
commit c93c8b8c3e
3 changed files with 28 additions and 12 deletions

View File

@@ -155,7 +155,7 @@
favorite-entities)]
(dnd-component/items favorites
{:on-drag-end (fn [favorites]
(page-handler/reorder-favorites! favorites))
(page-handler/<reorder-favorites! favorites))
:parent-node :ul.favorites.text-sm}))))))
(rum/defc recent-pages < rum/reactive db-mixins/query