website: Fix order of imports in Sortable/SortableItem

This commit is contained in:
Adrian Cowan
2023-01-01 17:16:05 +11:00
parent ab8fbbecca
commit 48dc187158
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,13 +9,13 @@ import {
useSensors,
} from "@dnd-kit/core";
import type { DragEndEvent } from "@dnd-kit/core/dist/types/events";
import { restrictToVerticalAxis } from "@dnd-kit/modifiers";
import {
arrayMove,
SortableContext,
sortableKeyboardCoordinates,
verticalListSortingStrategy,
} from "@dnd-kit/sortable";
import { restrictToVerticalAxis } from "@dnd-kit/modifiers";
import { ReactNode, useEffect, useState } from "react";
import { SortableItem } from "./SortableItem";
@@ -1,8 +1,8 @@
import { Button } from "@chakra-ui/react";
import { useSortable } from "@dnd-kit/sortable";
import { CSS } from "@dnd-kit/utilities";
import { RxDragHandleDots2 } from "react-icons/rx";
import { PropsWithChildren } from "react";
import { Button } from "@chakra-ui/react";
export const SortableItem = ({ children, id }: PropsWithChildren<{ id: number }>) => {
const { attributes, listeners, setNodeRef, transform, transition } = useSortable({ id });