Use next-basics package.

This commit is contained in:
Mike Cao committed 2022-08-28 20:20:54 -07:00
1 parent 1a6af8fc41
commit f4e0da481e
62 files changed
+255 -373

No files matched your search

-2
View File
@@ -23,8 +23,6 @@ export default function DashboardEdit({ websites }) {
const ordered = useMemo(() => sortArrayByMap(websites, order, 'website_id'), [websites, order]);
console.log({ order, ordered });
function handleWebsiteDrag({ destination, source }) {
if (!destination || destination.index === source.index) return;