Skip to content

Commit

Permalink
updated the type
Browse files Browse the repository at this point in the history
  • Loading branch information
ValeriaMaltseva committed Dec 3, 2024
1 parent cbb764c commit a30df1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/src/core/components/drag-and-drop/draggable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ interface DraggableProps {
info: DragAndDropInfo
}

function Draggable (props: DraggableProps): React.JSX.Element | null {
function Draggable (props: DraggableProps): React.JSX.Element {
const [id] = useState(uuid())
const { attributes, listeners, setNodeRef } = useDraggable({
id,
Expand Down

0 comments on commit a30df1b

Please sign in to comment.